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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 16 20:31:08 PST 2009


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





------- Comment #24 from bugzilla at digitalmars.com  2009-02-16 22:31 -------
The compiler already has a switch to generate multiple obj files from one
source file: -multiobj. I use it for debugging. But it would be a royal pain to
use if there's a lot.

A better way is to compile to a library with the -lib switch. That splits the
module into a zillion obj files, and stuffs them all into the library. Then,
link with the library (the main() program will still have to be separate).


-- 



More information about the Digitalmars-d-bugs mailing list