Makefile question

Chris Johns chrisj at rtems.org
Thu Nov 25 21:38:52 UTC 2004


Smith, Gene wrote:
> 
> Guess I was a little afraid of hitting the linker with thousands of .o's 
> all at one time. I did do a non-rtems project with a lot of partials and 
> it worked ok. The linker had no problems. But you may be right that 
> linking it at once is ok.
> 

I suspect incremental linking will place all the object files into the 
final output. If this is ok incremental linking is fine.

FYI I use autoconf, automake and libtool. One project has about 300 
application C and C++ files and the executable is 1.6M in size. The 
issue is the ELF output file with debug info is 17M in size so high 
speed disks and RAM is more important than the number of object files.

-- 
  Chris Johns



More information about the users mailing list