Hi Kai !

Kai Nacke kai at redstar.de
Sun Nov 17 22:40:53 PST 2013


Hi tae!

On Sunday, 17 November 2013 at 19:17:02 UTC, tae hoo wrote:
> Hi Kai !
>
> Sorry, I am poor at english ^^;;;

No problem at all. I am also no native speaker.

> LVM does generates incompatible with MS tool(case jmp table
> lable , seh lable
> etc)
>
> the problem is 'set directive'
>
> do patch llvm, HasSetDirective from true to false.
>
> <llvm/lib/MC/MCAsmInfo.cpp>
>
>   GPRel64Directive = 0;
>   GPRel32Directive = 0;
>   GlobalDirective = "\t.globl\t";
>   HasSetDirective = false;//true;      <---- this, line number 
> 74,
>   HasAggressiveSymbolFolding = true;
>   COMMDirectiveAlignmentIsInBytes = true;
>   LCOMMDirectiveAlignmentType = LCOMM::NoAlignment;

Great information. :-) I think it is a bit to generic. I set 
HasSetDirective = false; in class X86MCAsmInfoMicrosoft and it 
works, too. I added this piece of information to the PR.

>
> I used <git clone --recursive 
> https://github.com/ldc-developers/ldc.git> version.
>
> but final link error genarated.
>
> which version is required to avoide this phobos link problem?

I am still investigating. There might simply something missing - 
I was/am busy with a lot of other issues, too.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list