Reducing Linker Bugs

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Dec 18 21:39:38 PST 2011


I've tried #2 before but it only worked for the most trivial code.

As a workaround you could try unilink (OMF-compatible):
ftp://ftp.styx.cabel.net/pub/UniLink/ulnb0329.zip

Change ulink.cfg to e.g.:
-zsnn.lib
-LC:\dmd\windows\lib
-LC:\dm\lib
-Go

-zkernel32;advapi32;user32;wsock32;shell32;snn.lib
-LC:\dmd2\windows\lib
-Go

I've only ever tried manually linking object files and it worked good,
but maybe you can change sc.ini so DMD can invoke unilink itself. Good
luck!


More information about the Digitalmars-d mailing list