From owner-freebsd-current@FreeBSD.ORG Sun Jan 13 17:15:27 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C997916A419 for ; Sun, 13 Jan 2008 17:15:27 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAF513C44B for ; Sun, 13 Jan 2008 17:15:26 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2093209fgg.35 for ; Sun, 13 Jan 2008 09:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=d0HxVA4tgA6YyRgBrvUuxAuDPAMhHrzv84YPkJQ2WuI=; b=hDJLZEen1w/jPH7T4Ei6V/kcq7q4eGeVgkHfa76FyJJOwB3QzckxgyGB44n/ZNemB/GqjM9cX8N5l16w2kfhgwWOvtuD50Bp/ysOrGbeEaxAaS/BW98IIScQShH1b/p7/8qLvEtk8ipoiagxinQ8M/PLA/EmaLsUu5xmb295ubc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=bWa1irPnOAdsCE+pYB6aRcNfaURmn97bnZEJ7ivIN/fyilb+RhX2NQGJuG1LeR1khuQgHFb1N8g6usomKq2NpXcB0fPdQgiVRgtyEMSNCfbdY823jJZxUEoSnl1YunewyRa6YHbbX4+APkm54r45QFxggYfUSiEnaYt/pCvqfBg= Received: by 10.82.183.19 with SMTP id g19mr9234914buf.12.1200244525055; Sun, 13 Jan 2008 09:15:25 -0800 (PST) Received: from plan0.kaiwan.csbnet.se ( [193.11.244.12]) by mx.google.com with ESMTPS id p10sm4225233gvf.12.2008.01.13.09.15.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Jan 2008 09:15:23 -0800 (PST) Received: by plan0.kaiwan.csbnet.se (Postfix, from userid 1001) id F375DB849; Sun, 13 Jan 2008 18:15:14 +0100 (CET) Date: Sun, 13 Jan 2008 18:15:14 +0100 From: Kai Wang To: David O'Brien Message-ID: <20080113171514.GA1210@plan0.kaiwan.csbnet.se> Mail-Followup-To: David O'Brien , freebsd-current@freebsd.org References: <20080111142336.GA1379@plan0.kaiwan.csbnet.se> <20080113103501.GB46123@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080113103501.GB46123@dragon.NUXI.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org Subject: Re: [Call for testers] "BSD ar" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 17:15:27 -0000 Hi David, On Sun, Jan 13, 2008 at 02:35:01AM -0800, David O'Brien wrote: > Can your 'ar' handle multiple targets? "BSD ar" only support ELF binaries. > amd64$ ar --help > ..snip.. > ar: supported targets: elf64-x86-64 elf32-i386-freebsd srec symbolsrec tekhex binary ihex In this specific case, BSD ar can not handle S-Record, tekhex, iHex, etc. > If not, I don't think its ready to be a Bintuils 'ar' replacement. "BSD ar" never intends to completely replace Binutils 'ar'. We only want to give people an alternative. (which is self-sufficient, suitable for use for FreeBSD to build itself, can build almost all the ports, for example.) BTW, It does have advantage in "multiple elf targets" though: In the case above, this binutils 'ar' (build for amd64) can not handle elf64-sparc64 or elf32-powerpc object files, while "BSD ar" can. (arch independent) -- Kai