The gnu linker.
Craig W. Wright
craig.wright@cometsolutions.com
Wed Jan 2 18:35:00 GMT 2002
Hi,
My name is Craig. I work for a small company developing a computational
modeling package.
I'm not entirely sure, but I think the GNU linker comes in the package
with gcc. Please correct me if I am wrong here. (that's why I'm emailing
you though ;)
I'm trying to compile a rather large piece of software (700+ files) that
are organized into libraries and linked with a set of object files from
time to time.
We are migrating from Irix 6.5 and we once used an option that the SGI
linker had. It allowed you to put the names of a whole bunch of object
files into a text file and then pass this object list file to the linker
instead of a bunch of individual object files.
After scouring the man pages several times I've not been able to find
anything like this in the GNU linker.
I need this functionality because occasionally the link line is too long
for the shell to deal with. For example if someone modified the header
file for our string class, all of the sudden nearly every file is
represented on the link line.
Are there any solutions to get around this? Am I missing an option in
GNU ld that would make this object file list thing work?
I'd appreciate any advise on this subject that you could give me.
Thank you,
--
Craig Wright
More information about the Gcc
mailing list