Linker error when building dmd backend

Walter Bright newshound2 at digitalmars.com
Sun Dec 23 10:15:53 UTC 2018


On 12/22/2018 6:29 PM, Thomas Mader wrote:
> To me it looks like fp.c has the implementation and evalu8 is using it.
> The name mangling of fp.c compiled with g++ is different from evalu8.d compiled 
> with ldc.

I wonder why you're compile some parts with g++ and some with ldc.

When I have trouble with name mangling variations, I use 'grep' to see what the 
name mangling is in the various object files, then I fiddle with the 
declarations until they line up.


More information about the Digitalmars-d mailing list