From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6416 invoked by alias); 14 Apr 2010 08:49:06 -0000 Received: (qmail 6408 invoked by uid 22791); 14 Apr 2010 08:49:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Apr 2010 08:48:59 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 82911CB030D; Wed, 14 Apr 2010 10:48:56 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h+pGL9TMWOlP; Wed, 14 Apr 2010 10:48:56 +0200 (CEST) Received: from dhcp-guest-205.act-europe.fr (dhcp-guest-205.act-europe.fr [10.10.127.205]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 4F074CB0202; Wed, 14 Apr 2010 10:48:56 +0200 (CEST) Subject: Re: [libbfd] Mach-O format support ? Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <20100414173947.680bc9cc.mpsuzuki@hiroshima-u.ac.jp> Date: Wed, 14 Apr 2010 08:49:00 -0000 Cc: fleury@labri.fr, binutils@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <9FD2BC70-88A6-49E2-A7CD-9080A95C0D8F@adacore.com> References: <4BC488C6.8090203@labri.fr> <4BC577D6.6050801@labri.fr> <0708B593-97DB-499D-A89B-ED70E8573F46@adacore.com> <20100414173947.680bc9cc.mpsuzuki@hiroshima-u.ac.jp> To: mpsuzuki@hiroshima-u.ac.jp X-IsSubscribed: yes 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-04/txt/msg00168.txt.bz2 On Apr 14, 2010, at 10:39 AM, mpsuzuki@hiroshima-u.ac.jp wrote: > Hi, >=20 > How about "nm" for universal binary? nm on universal binary works too. > If I execute "nm" of latest binutils (downloaded from CVS) > and try for universal binary archive (/usr/lib/libwrap.a) > on Mac OS X, "nm" complains as: >=20 > $ ./nm-new /usr/lib/libwrap.a=20 > ./nm-new: /usr/lib/libwrap.a:i386: File format not recognized > ./nm-new: /usr/lib/libwrap.a:powerpc:common: File format not recognized Yes, nm on universal archive doesn't work, because nm doesn't handle archiv= es of archives! Tristan.