[PATCH] Don't link ecj1 against libgcj.so.* (PR libgcj/38396)
Thu Dec 18 13:44:00 GMT 2008
On Thu, Dec 18, 2008 at 12:29:49PM +0000, Andrew Haley wrote:
> Paolo Bonzini wrote:
> >> Which of those OSes support libgcj_bc.so? None, I think.
> > In other words, something like this, if it works at all, should fix the PR:
> I don't think this bug has anything to do with ENABLE_SHARED. Not that
> I have any objection to the change to the specs, which looks correct,
> but surely that's another issue.
But when we are already touching this...
It is true that for !ENABLE_SHARED USE_LIBGCJ_BC doesn't make any sense.
Perhaps we should disable USE_LIBGCJ_BC if !ENABLE_SHARED during configury.
Still, I guess we should avoid -lgcj_bc for -static, so perhaps
if "$enable_shared" != yes; then
if test "$use_libgcj_bc" = yes; then
in configure.ac. I'm not convinced we want to get rid of libgcj.la
in ecjx_LDADD for !USE_LIBGCJ_BC, that includes all kinds of weird targets
which perhaps want rpath or something similar sticked into the executable.
More information about the Gcc-patches