Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 18:15:14 +0100
From:      Kai Wang <kaiwang27@gmail.com>
To:        David O'Brien <obrien@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [Call for testers] "BSD ar"
Message-ID:  <20080113171514.GA1210@plan0.kaiwan.csbnet.se>
In-Reply-To: <20080113103501.GB46123@dragon.NUXI.org>
References:  <20080111142336.GA1379@plan0.kaiwan.csbnet.se> <20080113103501.GB46123@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080113171514.GA1210>