This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: Use libgcj_convenience.la ( Re: libjava bootstrap failureon sparc-sun-solaris2.8)
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: <automake at gnu dot org>, Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>, <gcc-patches at gcc dot gnu dot org>, <java at gcc dot gnu dot org>
- Date: Sat, 8 Jun 2002 13:55:16 -0400 (EDT)
- Subject: Re: PATCH: Use libgcj_convenience.la ( Re: libjava bootstrap failureon sparc-sun-solaris2.8)
On 8 Jun 2002, Alexandre Oliva wrote:
> On Jun 7, 2002, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> > On 5 Jun 2002, Alexandre Oliva wrote:
>
> >> What -static doesn't mean to libtool is to reject any kind of dynamic
> >> linking. -all-static does that [...]
>
> > But -all-static isn't a valid gcc option.
> A way I thought to alleviate this problem would be to get automake to
> support say LT_LDFLAGS, such that to make sure you get only
> statically-linked binaries, you could use `CC=gcc -static' and
> `LT_LDFLAGS=-all-static'. Automakers, what do you think? Should I
> file a PR with this suggestion?
FWIW, that sounds like a good idea to me.
brgds, H-P