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 14:08:12 +0100
- Subject: RE: ld resulting long command line arguments when calling collect2 workaround
> -----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.
cheers,
DaveK
--
Can't think of a witty .sigline today....