Subject: Re: Passing list of objects to GNU ld...
From: [email-masked]

15 Jul 1998 01:17:30 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
To: [email-masked]
Cc: [email-masked]

>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
"[email-masked]" with one line of text: "help".