ld resulting long command line arguments when calling collect2 workaround

Dave Korn dk@artimi.com
Thu Apr 8 13:09:00 GMT 2004


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



More information about the Binutils mailing list