This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: ld resulting long command line arguments when calling collect2 workaround
- From: "Dave Korn" <dk at artimi dot com>
- To: "'binutils'" <binutils at sourceware dot org>
- Date: Thu, 8 Apr 2004 18:45:01 +0100
- Subject: RE: ld resulting long command line arguments when calling collect2 workaround
> -----Original Message-----
> From: binutils-owner On Behalf Of Dave Korn
> Sent: 08 April 2004 14:08
> > -----Original Message-----
> > From: binutils-owner On Behalf Of Ian Lance Taylor
> > Sent: 08 April 2004 00:20
>
> > "J. Grant" writes:
>
> > > However, the problem is that ld/g++ seems to "expand" the
> > @make.objects
> > > file and pass all the filenames to the objects again on the
> > command line
> > > to collect2 (which appears to do the final linking and
> > creation of elf
> > > etc). collect2 has the same problem with command line
> > argument limit
> >
> > I don't know what expands the @make.objects argument. I very much
> > doubt that there is any code in gcc or collect2 or ld which expands
> > that argument. If you are using cygwin, then perhaps the
> cygwin shell
> > expands it.
>
> WRS' cygwin-x-vxworks toolchain implements that feature.
> It may have been
> ported into the cygwin native tools as well, I'm not sure.
BTW, the exact same discussion has come up just now on the cygwin list: see
http://www.cygwin.com/ml/cygwin/2004-04/msg00285.html
and followups, in particular the one that recommends a solution at
http://cygwin.com/ml/cygwin/2004-03/msg01300.html
If JG wants more help, it would be appropriate to join the cygwin list,
since ISTM this is cyg-specific rather than binutils-specific.
http://www.cygwin.com/cygwin/lists.html
cheers,
DaveK
--
Can't think of a witty .sigline today....