This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava: Support --enable-version-specific-runtime-libs.

On Wed, Jun 09, 2004 at 11:06:37AM -0600, Tom Tromey wrote:
> >>>>> "Andreas" == Andreas Jaeger <> 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 <>

        * docs/configopts.html: Added documentation for the
        "--enable-version-specific-runtime-libs" and
        "--with-gxx-include-dir" configuration switches.

2000-10-13  Benjamin Kosnik  <>
            Mark Harig  <>

        * src/ (toolexeclibdir): Add support fo
        VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
        * src/ Regenerate.
        * libsupc++/ Same.
        (glibcppinstalldir): Adjust.
        * libsupc++/ Regenerate.
        * Remove gxx_include_dir. Remove INCLUDE.
        * 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

> 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 Jaeger,,
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nïrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]