mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <biessmann@corscience.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] configure.ac: Check for GNU ar
Date: Tue, 20 Mar 2012 09:37:14 +0100	[thread overview]
Message-ID: <4F6841BA.2020408@corscience.de> (raw)
In-Reply-To: <1332229431-25977-1-git-send-email-bernhard@bwalle.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 names
>        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 putting
>        them in the archive.
> 
> --------------------------------------------------------------------------------
> 
> Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
> ---
>  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ßmann

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-03-20  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20  7:43 Bernhard Walle
2012-03-20  8:37 ` Andreas Bießmann [this message]
2012-03-20 19:42   ` Bernhard Walle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6841BA.2020408@corscience.de \
    --to=biessmann@corscience.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox