This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Passing list of objects to GNU ld...
- To: berend at istanbul dot engr dot sgi dot com
- Subject: Re: Passing list of objects to GNU ld...
- From: ian at cygnus dot com
- Date: Tue, 14 Jul 1998 14:49:59 -0400 (EDT)
- CC: gnu-win32 at cygnus dot com
- References: <199807140433.VAA28565@istanbul.engr.sgi.com>
>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".