From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Compile static versions of gcc libraries
Date: Sat, 12 Oct 2013 08:58:48 +0200 [thread overview]
Message-ID: <35442021.nHn7vxX1UA@sagittae> (raw)
In-Reply-To: <20131011232307.7301b5d6@skate>
On Friday 11 October 2013 23:23:07 Thomas Petazzoni wrote:
> Dear J?r?me Pouiller,
>
> On Thu, 10 Oct 2013 11:40:42 +0200, J?r?me Pouiller wrote:
> > +define HOST_GCC_FINAL_CONFIGURE_CMDS
> > + (cd $(HOST_GCC_FINAL_SRCDIR) && rm -rf config.cache; \
> > + $(HOST_CONFIGURE_OPTS) \
> > + CFLAGS="$(HOST_CFLAGS)" \
> > + LDFLAGS="$(HOST_LDFLAGS)" \
> > + $(HOST_GCC_FINAL_CONF_ENV) \
> > + ./configure \
> > + --prefix="$(HOST_DIR)/usr" \
> > + --sysconfdir="$(HOST_DIR)/etc" \
> > + --enable-shared --enable-static \
> > + $(QUIET) $(HOST_GCC_FINAL_CONF_OPT) \
> > + )
>
> Why aren't you simply doing:
>
> HOST_GCC_FINAL_CONF_OPT += \
> --enable-shared --enable-static
It was the first thing I tried. In this case, ./configure is called with
--enable-shared --disable-static --enable-static.
We can think --enable-static will overload --disable-static.
config.status correctly contains enable_static=yes, but libstdc++.la
does not contains any reference to libstdc++.a and libstdc++.a is not
installed. I surely missed something.
Whatever the case, if ./configure is called without --disable-static, it
works.
--
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
next prev parent reply other threads:[~2013-10-12 6:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-10 9:40 [Buildroot] [PATCH] Compile static versions of gcc libraries Jérôme Pouiller
2013-10-11 21:23 ` Thomas Petazzoni
2013-10-12 6:58 ` Jérôme Pouiller [this message]
2013-10-13 13:33 ` Thomas Petazzoni
2013-10-14 9:16 ` Jérôme Pouiller
2013-10-14 9:27 ` Thomas Petazzoni
2014-01-03 11:55 ` [Buildroot] " Baruch Siach
2014-01-11 22:47 ` [Buildroot] [PATCH] " Peter Korsgaard
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=35442021.nHn7vxX1UA@sagittae \
--to=jezz@sysmic.org \
--cc=buildroot@busybox.net \
/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