Why my 'ar.exe' and 'ld.exe' does not work with the inline parameter '@objectslistfile'

Zack Weinberg zack@codesourcery.com
Wed Jan 14 08:56:00 GMT 2004


Nick Clifton <nickc@redhat.com> writes:

> Basically because it is not needed.  You can achieve the same thing
> using the tools that are already available.  For example:
>
>       ar.exe -r archive `cat objectfilelist`

On Windows (incl. Cygwin) this is liable to overflow the limit on the
length of the command line, which is some ridiculously small number
like 1kB.

zw



More information about the Binutils mailing list