[Issue 424] Unexpected OPTLINK Termination at EIP=0044C37B (too many fixups)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 10 15:52:13 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=424





------- Comment #20 from someanon at yahoo.com  2009-02-10 17:52 -------
> Unfortunately I think the only real solution for this is a new linker.

I just thought there maybe a simple solution to implement: add a switch to the
DMD compiler, e.g "-mo", means output multiple object files.

So for file foo.d the compiler will output 
foo1.o
foo2.o
foo3.o 
....

each only contains a limited number of fixups, so in this way, the user can add
all these object files to the linker command line. This should work.

What do you think? Walter?


-- 



More information about the Digitalmars-d-bugs mailing list