[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-06 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

   Target Milestone|--- |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-05 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-05 
23:46 ---
Subject: Bug 20750

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-04-05 23:46:09

Modified files:
gcc: ChangeLog 
gcc/doc: install.texi 
libjava: ChangeLog Makefile.am Makefile.in configure 
 configure.ac 
libjava/external: Makefile.in 
libjava/external/sax: Makefile.in 
libjava/external/w3c_dom: Makefile.in 
libjava/gcj: Makefile.in 
libjava/include: Makefile.in 
libjava/java/lang: natRuntime.cc 
libjava/testsuite: Makefile.in 

Log message:
2005-04-05  Thomas Fitzsimmons  [EMAIL PROTECTED]

* doc/install.texi (Configuration): Document --with-java-home.

2005-04-05  Thomas Fitzsimmons  [EMAIL PROTECTED]

PR libgcj/20750
* Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
* Makefile.in: Regenerate.
* configure.ac: Add --with-java-home option.
* configure: Regenerate.
* external/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* java/lang/natRuntime.cc (insertSystemProperties): Set java.home
to JAVA_HOME macro.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.8154r2=2.8155
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/install.texi.diff?cvsroot=gccr1=1.342r2=1.343
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gccr1=1.3457r2=1.3458
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.am.diff?cvsroot=gccr1=1.472r2=1.473
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gccr1=1.503r2=1.504
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gccr1=1.260r2=1.261
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gccr1=1.26r2=1.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/Makefile.in.diff?cvsroot=gccr1=1.5r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/sax/Makefile.in.diff?cvsroot=gccr1=1.9r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/w3c_dom/Makefile.in.diff?cvsroot=gccr1=1.9r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/Makefile.in.diff?cvsroot=gccr1=1.66r2=1.67
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/Makefile.in.diff?cvsroot=gccr1=1.68r2=1.69
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gccr1=1.53r2=1.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/Makefile.in.diff?cvsroot=gccr1=1.77r2=1.78



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-05 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-06 
03:44 ---
Subject: Bug 20750

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-04-06 03:43:58

Modified files:
libjava: ChangeLog Makefile.am Makefile.in configure 
 configure.ac 
libjava/external: Makefile.in 
libjava/external/sax: Makefile.in 
libjava/external/w3c_dom: Makefile.in 
libjava/gcj: Makefile.in 
libjava/include: Makefile.in 
libjava/java/lang: natRuntime.cc 
libjava/testsuite: Makefile.in 

Log message:
2005-04-05  Thomas Fitzsimmons  [EMAIL PROTECTED]

PR libgcj/20750
* Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
* Makefile.in: Regenerate.
* configure.ac: Add --with-java-home option.
* configure: Regenerate.
* external/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* java/lang/natRuntime.cc (insertSystemProperties): Set java.home
to JAVA_HOME macro.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.3391.2.40r2=1.3391.2.41
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.am.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.455.2.8r2=1.455.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.485.2.8r2=1.485.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.253.2.2r2=1.253.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.19.2.2r2=1.19.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1r2=1.1.14.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/sax/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.2r2=1.2.12.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/w3c_dom/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.2r2=1.2.12.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.62r2=1.62.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.64r2=1.64.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.47.2.3r2=1.47.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.73r2=1.73.10.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-05 Thread fitzsim at redhat dot com

--- Additional Comments From fitzsim at redhat dot com  2005-04-06 03:57 
---
Fixed on HEAD and gcc-4_0-branch.  Closing.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread fitzsim at redhat dot com


-- 
   What|Removed |Added

  Component|java|libgcj


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-04 
19:15 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-04-04 19:15:45
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread mckinlay at redhat dot com

--- Additional Comments From mckinlay at redhat dot com  2005-04-04 20:03 
---
Whats the advantage to setting these at configure time? Couldn't java-gcj-compat
just set them when it invokes gij?

It seems a little awkward to hardcode paths like java-1.4.2-gcj-1.4.2.0 into
libgcj when this is really a property of java-gcj-compat. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread fitzsim at redhat dot com

--- Additional Comments From fitzsim at redhat dot com  2005-04-04 20:44 
---
The advantage is that we can then eliminate the java wrapper script completely
and symlink the java command directly to gij.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread fitzsim at redhat dot com

--- Additional Comments From fitzsim at redhat dot com  2005-04-04 20:48 
---
I should also mention; currently java-gcj-compat is separate from libgcj because
it depends on ecj.  Once gcjx lands we can use it as our bytecode compiler, and
distributions will likely want to merge java-gcj-compat into the libgcj itself.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread mckinlay at redhat dot com

--- Additional Comments From mckinlay at redhat dot com  2005-04-04 21:27 
---
Yeah, in the case where java-gcj-compat is merged into libgcj (ie libgcj is set
up to look like a JVM) then this option makes sense.

libgcj would install its .jars and whatever other JVMish files applications
expect to find into this directory, and set java.home accordingly. 

I don't see a reason why we couldn't go ahead and implement this on HEAD now,
even though an external wrapper would still be needed for now to use ecj as 
javac.

I so think it seems a bit non-intuitive to have --with-java-home just set a
property and not actually install things into that directory, relying on an
external package to actually populate it, however. We should at least install
libgcj.jar into the directory given?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750


[Bug libgcj/20750] libgcj needs a --with-java-home configure option

2005-04-04 Thread fitzsim at redhat dot com

--- Additional Comments From fitzsim at redhat dot com  2005-04-04 21:39 
---
Yes, eventually we'll install the same compatibiliy symlink forest we currently
install in java-gcj-compat.  For now though I only expect distributions
packaging java-gcj-compat to use this option.  For example, in Fedora Core,
java-gcj-compat is a default package, so we expect it to be there and we add an
rt.jar symlink from $JAVA_HOME/lib/rt.jar to libgcj-4.0.0.jar.  People
installing libgcj manually shouldn't use this option and won't be affected by 
it.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20750