PATCH: Use libgcj_convenience.la ( Re: libjava bootstrap failure on sparc-sun-solaris2.8)

Hans-Peter Nilsson hp@bitrange.com
Sat Jun 8 10:55:00 GMT 2002


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



More information about the Gcc-patches mailing list