GCJ and $PREFIX/include
Benjamin Kosnik
bkoz@redhat.com
Sun May 4 19:25:00 GMT 2003
> Could we please put this into $PREFIX/include/java/3.3 similar to what
> we do for C++ headers and also have the equivalent of
> --with-gxx-include-dir for Java include files?
Although I'm a fan of the current C++ include install strategy, I'd not
be one to force it on other runtime libs. I do think that
$(prefix)/include/language/do_your_thing makes the most cohesive install
for the gcc project as a whole. It would be great to have some
consistency on this, but since consistency has never really been a goal
here.....
As a side note, C++ installation includes a version now to allow the
implementation more freedom (especially WRT ABI and new features.)
Perhaps this is not needed for java.
Two meta comments on the current configuration issues concerning includes:
--with-gxx-include-dir
Should have been named --with-include-install-dir. I don't think this
makes any sense now, since we have DESTDIR support. I would love to
remove it, unless somebody can tell me a compelling reason to keep it.
-enable-version-specific-runtime-libs
Since all C++ includes are versioned now, this really only changes the
install directory to the compiler directory. I don't think this is used
outside of C++, and furthermore, I think DESTDIR solves this too.
Both of these options have long resulted in subtle configure/make errors
that are very hard to test and often broken.
I'd rather see the GCC project standardize on one thing that everybody
could use, something that is named neutrally, and implemented broadly,
then all these weakly named options for single parts of the toolchain
that do ultra-specific things.
(Furthermore, as somebody requested a while back, I'd much rather the
gcc-3.3.0 version string be gcc-3.3.0 instead of gcc-3.3.)
back into hiding,
benjamin
More information about the Java
mailing list