This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libjava: Support --enable-version-specific-runtime-libs.
- From: Andreas Jaeger <aj at suse dot de>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Andreas Jaeger <aj at suse dot de>, gcc-patches at gcc dot gnu dot org,java-patches at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 21:08:48 +0200
- Subject: Re: libjava: Support --enable-version-specific-runtime-libs.
- References: <m3vfidt0cs.fsf@gromit.moeb> <87ekood5k2.fsf@fleche.redhat.com>
On Wed, Jun 09, 2004 at 11:06:37AM -0600, Tom Tromey wrote:
> >>>>> "Andreas" == Andreas Jaeger <aj@suse.de> writes:
>
> Andreas> The appended patch adds support for
> Andreas> --enable-version-specific-runtime-libs to libjava.
>
> Do you have a pointer to the discussion of this feature? I read the
> explanation in install.texi, and I don't really see why the user can't
I have no pointer but the oldest ChangeLog I could find is from libstdc++-v3:
2000-10-24 Mark Harig <mharig@landmark.com>
* docs/configopts.html: Added documentation for the
"--enable-version-specific-runtime-libs" and
"--with-gxx-include-dir" configuration switches.
2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Mark Harig <markh@landmark.com>
* src/Makefile.am (toolexeclibdir): Add support fo
VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Same.
(glibcppinstalldir): Adjust.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
* Makefile.in: Regenerate.
* docs/configopts.html: Add descriptions of flags.
> just make a new --prefix for this case. But I'd like to read the
> original discussion instead of going over the arguments again...
You might want to install gcc into /usr/bin as gcc-3.5 besides
your current compiler - and have the includes and libraries completly
separate. With --libdir you would need to change this with every
version.
>
> Andreas> +AC_MSG_CHECKING([for --enable-version-specific-runtime-libs])
>
> Do we really need this? This isn't really an ordinary configure
> check.
I'll check the next days, I copied from other configure files.
>
> Andreas> +# Process the option "--enable-version-specific-runtime-libs"
> Andreas> +gcc_version_trigger=${srcdir}/../gcc/version.c
>
> Is this correct for multilibs when srcdir==objdir?
I assume - it's the same as done for libstdc++. But I'll double check...
> I think you need $libgcj_basedir/../gcc/version.c here.
> See the comments in LIBGCJ_CONFIGURE in acinclude.m4.
and might use that instead.
> Otherwise this looks fine.
> BTW does it need a tweak for header file installation?
That's something that could be done additionally. For C++ we do it
this way, but not everywhere. I wanted to have the basic support in
before tackling this.
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux AG, Maxfeldstr. 5, 90409 Nïrnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126