From owner-freebsd-toolchain@FreeBSD.ORG Fri Aug 3 15:56:01 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEA101065670 for ; Fri, 3 Aug 2012 15:56:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id AA79B8FC16 for ; Fri, 3 Aug 2012 15:56:00 +0000 (UTC) Received: by obbun3 with SMTP id un3so1570917obb.13 for ; Fri, 03 Aug 2012 08:56:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=ogTAJKQ4OWlkQZZbGqL7d5CNd6+s0A1g24JX1MY+B4I=; b=CH5vacUoqTs1TeDwThgkkV6QiIAEkS6lq3BrMqyrXAdTv2/YLrn43Pg4vA5gxGuvY/ A05HuOmPn1L660LNJMY6clyhOyL6mJj2OkEhSrRvbr69clnha0kqV23buvZwJd2Kk5UH Nkk3I4fhmRkvpC9R2s6ySm6lb78+3b9agmg+sWpLyWAPJ9vzHGgSAVc4iAQkemvPidPE PF19VQkQqXiKpfOv/pPNQ/prap0gwMZNXDVcB+ipABCjlre5IZIUdLjCdMqJBC5rkjDp aRY2S6VlHDlL0QxmfRtF/NzsYtmsoz3CuRmszri28pVj+jdmy8Fvnx+ZJlVqLYJhpB6a eGgw== Received: by 10.182.164.10 with SMTP id ym10mr5725155obb.75.1344009359841; Fri, 03 Aug 2012 08:55:59 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id l9sm8032322oeg.3.2012.08.03.08.55.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Aug 2012 08:55:59 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Fri, 3 Aug 2012 09:55:57 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <9F286684-EA0B-4F6F-8C1F-0036DF9A0C53@bsdimp.com> References: To: pete X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlbwO05tGD/CF33lYUQJHp9R79sLqSDoQK/3oHw8KTz+nmttaBKfvK1uLyyPQIuUd1UCjor Cc: freebsd-toolchain@freebsd.org, David Chisnall Subject: Re: BSD archive file formats X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 15:56:01 -0000 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 > 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"