This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Passing list of objects to GNU ld...


>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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]