------- Comment #24 from  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).


Reply via email to