This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
safe to concat object files
- From: y2bismil at engmail dot uwaterloo dot ca
- To: GCC- help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 Oct 2003 12:11:12 -0400
- Subject: safe to concat object files
Hi all,
I was wondering it is safe to concat(onate) a bunch of object files together in
GCC. Will the linker still be able to appropriately find all the references?
I ask this out of curiousity. The build system we have here at work has a large
number of subdirs. The makefiles compile each dir. Concat all the object files
and then copy the combined object file to a 'link' directory. Where linking is
done.
Is this safe with GCC? Is it safe generally speaking?
Thanks,
Yamin
----------------------------------------
This mail sent through www.mywaterloo.ca