Date: Fri, 3 Aug 2012 09:55:57 -0600 From: Warner Losh <imp@bsdimp.com> To: pete <petechou@gmail.com> Cc: freebsd-toolchain@freebsd.org, David Chisnall <theraven@theravensnest.org> Subject: Re: BSD archive file formats Message-ID: <9F286684-EA0B-4F6F-8C1F-0036DF9A0C53@bsdimp.com> In-Reply-To: <CANWS6neR0s%2BDteqRDkHX6Rb0dej%2Bi9TEDpmHAV53XzZ%2BD8141w@mail.gmail.com> References: <CANWS6nfWO8WvVXeRVB=YrFhhc-GT1Yo%2Bxx38OcitpN-Puhuw=A@mail.gmail.com> <C65466F5-5D93-4EDF-92B8-A1207FC34B72@theravensnest.org> <CANWS6neR0s%2BDteqRDkHX6Rb0dej%2Bi9TEDpmHAV53XzZ%2BD8141w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pete, the best way to find out if support for archives are needed is to = release it for testing. People find the craziest things when testing in = a wider arena. Alternatively, see if can survive /usr/ports being thrown at it :) even = clang can't do that yet (although it isn't always clang's fault for = reasons too numerous to enumerate here). Warner On Aug 3, 2012, at 6:39 AM, pete wrote: > Hi David, >=20 > Thanks for your information! Then I'll probably work on other features > development first. And I also checked that MCLinker is able to link = itself > with archive libraries on i386 FreeBSD9. >=20 > Thanks, > Pete >=20 > On Fri, Aug 3, 2012 at 7:43 PM, David Chisnall > <theraven@theravensnest.org>wrote: >=20 >> Hi Pete. >>=20 >> The end of the man page says: >>=20 >>> This manual page documents the ar(1) archive formats used by the >> 4.4BSD >>> and UNIX SVR4 operating system releases. >>=20 >> I think it's probably safe to assume that the 4.4BSD format was = dropped at >> some indeterminate point in the past, probably when we moved from = a.out to >> ELF format binaries. If the tools currently shipped in the base = system are >> not producing them, then support is probably not important - people = can >> always install GNU binutils from ports if it is for some legacy = software. >>=20 >> David >>=20 >> On 3 Aug 2012, at 12:36, pete wrote: >>=20 >>> Hi folks, >>>=20 >>> I'm working on archive file format support in MCLinker project. >>>=20 >>> GNU variant archive format is supported in MCLinker now. And from = FreeBSD >>> man pages, I can find there are some differences between BSD and GNU >>> variants. However, when I try to check BSD variant on freebsd9 = (i386), I >>> can only find GNU variant archive files. And if using "ar" to make = an >>> archive file on freebsd9, I still get a GNU variant one. >>>=20 >>> So, I would like to ask if BSD variant supported/existing in BSD = system. >> Or >>> I missed something in configuring or others? >>>=20 >>> I'm new to BSD. Any information will be helpful! >>>=20 >>> Thanks, >>> Pete >>> _______________________________________________ >>> freebsd-toolchain@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain >>> To unsubscribe, send any mail to " >> freebsd-toolchain-unsubscribe@freebsd.org" >>=20 >>=20 > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to = "freebsd-toolchain-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9F286684-EA0B-4F6F-8C1F-0036DF9A0C53>