From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S9uZI-0003xm-Q2 for ptxdist@pengutronix.de; Tue, 20 Mar 2012 09:37:26 +0100 Received: from [192.168.102.103] (azuregos.2og.er.corscience.de [192.168.102.103]) by corscience.de (Postfix) with ESMTP id 3202151EA2 for ; Tue, 20 Mar 2012 09:37:14 +0100 (CET) Message-ID: <4F6841BA.2020408@corscience.de> Date: Tue, 20 Mar 2012 09:37:14 +0100 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= MIME-Version: 1.0 References: <1332229431-25977-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <1332229431-25977-1-git-send-email-bernhard@bwalle.de> Subject: Re: [ptxdist] [PATCH] configure.ac: Check for GNU ar Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Dear Bernhard, On 20.03.2012 08:43, Bernhard Walle wrote: > To build the ipk packages, we need the 'f' flag which is a GNU extension: > = > -{ ar(1) }---------------------------------------------------------------= ------- > = > f Truncate names in the archive. GNU ar will normally permit file n= ames > of any length. This will cause it to create archives which are not > compatible with the native ar program on some systems. If this is= a > concern, the f modifier may be used to truncate file names when pu= tting > them in the archive. > = > -------------------------------------------------------------------------= ------- > = > Signed-off-by: Bernhard Walle > --- > Makefile.in | 1 + > configure.ac | 1 + > 2 files changed, 2 insertions(+) > = > diff --git a/Makefile.in b/Makefile.in > index 17a6ce6..11e71c3 100644 > --- a/Makefile.in > +++ b/Makefile.in > @@ -55,6 +55,7 @@ environment: > @ln -sf @GNU_mknod@ "$(abs_srcdir)/bin/mknod" > @ln -sf @GNU_tar@ "$(abs_srcdir)/bin/tar" > @ln -sf @GNU_readlink@ "$(abs_srcdir)/bin/readlink" > + @ln -sf @GNU_ar@ "$(abs_srcdir)/bin/ar" this is annoying, it will require gnu binutils which is not available on my mac by default. Couldn't we use some approach like http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/8533 (pachting ipkg to use toolchain provided ar, which should be GNU binutils for linux targets). Another way would be to stick at opkg to build the ipkg packages on mac. What do you think about that? regards Andreas Bie=DFmann -- = ptxdist mailing list ptxdist@pengutronix.de