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: RE: Passing list of objects to GNU ld...


Why don't you put all the object files in a library and put the single
library name on the command line?

Fred

-----Original Message-----
From: Berend Ozceri <berend@istanbul.engr.sgi.com>
To: <gnu-win32@cygnus.com>
Date: Wednesday, July 15, 1998 3:26 PM
Subject: Re: RE: Passing list of objects to GNU ld...


>Excerpts from gnu-win32: 15-Jul-98 RE: Passing list of objects to by GNU
ld...
>         Sergey Okhapkin
>>> 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?
>>>
>>ld [options] `cat listfile`
>
>The problem is, I am trying to work around the issue of the command-line
being
>too long (i.e. exceeding the maximum number of command-line arguments of
the
>shell). Therefore cat'ing a file and expanding the file into arguments is
*not*
>a solution.
>
>In case anyone cares, this is for compiling the output of a Verilog
simulator
>that converts Verilog into C, resulting in 1000+ object files.
>
>Berend
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

-
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]