This is the mail archive of the
mailing list for the binutils project.
Re: Why my 'ar.exe' and 'ld.exe' does not work with the inlineparameter '@objectslistfile'
- From: Nick Clifton <nickc at redhat dot com>
- To: "massimiliano dot guerra at cmz dot it" <massimiliano dot guerra at cmz dot it>
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 14 Jan 2004 08:23:06 +0000
- Subject: Re: Why my 'ar.exe' and 'ld.exe' does not work with the inlineparameter '@objectslistfile'
- References: <01C3DA7E.C4E85200.email@example.com>
> I've build with cygwin the binutils 2.13.2 in windows i.e
> "libiberty + libbfd + ld + ar".
Just a quick note - release 2.14 is now out, so you might want to
upgrade. It will not fix this problem however...
> All works fine but I cannot use the follow syntax:
> "ar.exe -r archivefile @objecfileslist"
> "ld.exe ... @objectfileslist ..."
Correct. The GNU binutilities do not support the "@<file-containing-list-of-filename>"
syntax. They never have.
> Why don't work the '@' character in front the filename who
> contain the list of the object files to use ?
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`
Note the backquote characters (`). These cause the text between them
to be executed and their output to be substituted in their place.
If you cannot live without support for the "@filelist" syntax please
feel free to develop a patch to add it and then submit the patch to