From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2498 invoked by alias); 2 Dec 2010 00:10:27 -0000 Received: (qmail 2482 invoked by uid 22791); 2 Dec 2010 00:10:25 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_BJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Dec 2010 00:10:21 +0000 Received: (qmail 8885 invoked from network); 2 Dec 2010 00:10:19 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Dec 2010 00:10:19 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PNwkb-0004AY-U1; Thu, 02 Dec 2010 00:10:17 +0000 Date: Thu, 02 Dec 2010 00:10:00 -0000 From: "Joseph S. Myers" To: Mike Frysinger cc: binutils@sourceware.org, Arnaud Lacombe Subject: Re: Using binutils with all target enabled In-Reply-To: <201012011701.28717.vapier@gentoo.org> Message-ID: References: <201012011701.28717.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00044.txt.bz2 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. -- Joseph S. Myers joseph@codesourcery.com