Passing list of objects to GNU ld...
ian@cygnus.com
ian@cygnus.com
Tue Jul 14 11:50:00 GMT 1998
>Is there any way to get GNU ld to read the list of object files to be linked
>from a text file containing the names of the object files, one per line?
Not as such. However, writing a file foo.t which contains lines like
INPUT(foo.o)
INPUT(bar.o)
and then linking against foo.t ought to work. In general, if the
linker can not recognize an input file as an object file or archive,
it will attempt to read it as a linker script.
Ian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list