OPTLINK needs to die.

Walter Bright newshound1 at digitalmars.com
Mon Feb 16 20:32:14 PST 2009


Jarrett Billingsley wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=424


I just added this to the bug report:

======================
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).
=======================

Can you give it a try?



More information about the Digitalmars-d mailing list