This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Using binutils with all target enabled
Hi,
On Wed, Dec 1, 2010 at 7:10 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Wed, 1 Dec 2010, Mike Frysinger wrote:
>
>> On Wednesday, December 01, 2010 14:27:10 Arnaud Lacombe wrote:
>> > I'd have hoped that specifying the the format explicits would have
>> > been possible, but very few program seems to support such options.
>> > Actually, only objdump (maybe others) accepts a '-b' flags.
>>
>> ld has -m, objcopy/strip have -F/-O/-I, readelf doesnt care, addr2line/nm/size
>> have --target. ?seems like just as, ar, and ranlib are missing command line
>> flags, and --target might be the logical flag to add to them.
>
> I don't think as has any useful multi-target support; the code is full of
> uses of macros defined in target-specific headers.
>
I was talking about ar/ranlib here, not `as'. I'm fine with having a
target specific `as'.
- Arnaud