delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/15/01:17:30

From: ian AT cygnus DOT com
Subject: Re: Passing list of objects to GNU ld...
15 Jul 1998 01:17:30 -0700 :
Message-ID: <199807141849.OAA02184.cygnus.gnu-win32@tweedledumb.cygnus.com>
References: <199807140433 DOT VAA28565 AT istanbul DOT engr DOT sgi DOT com>
To: berend AT istanbul DOT engr DOT sgi DOT com
Cc: gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019