Hello!

Two problems when building classpath 0.96 pre (about 1 week old),
similar problem in 0.95, on 32 bit x86 linux (Gentoo):

1. "javac" runs out of memory when making in subdirectory lib
when compiling "@classes".

This is an original Sun javac version 1.6.0_02.

javac works and successfully compiles code 
in several other make steps, but "@classes" is just too much for it.

2. To avoid that problem, I installed ecj and configured Classpath
with "--with-ecj=... --without-javac"
(but left javac installed on my system).

Configure sets *both* JAVAC=... and ECJ=...,
but sets FOUND_ECJ_FALSE and FOUND_JAVAC_TRUE (*wrong*).

Hence, this did not help against problem 1.

The only way I found to avoid the classes being compiled with javac
was editing lib/Makefile by hand after running configure
(commenting the JCOMPILER line with javac 
and uncommenting the one with ecj).

ecj has no problems compiling "@classes"
(hence, the path given in "--with-ecj=..." points to a working ecj).

I was unable to teach configure not to use javac.

Specifying "--without-xxx" should always be obeyed,
no matter what configure actually finds.


Greetings

-- 
Klaus Kusche, DI. Dr.                    Software Development - Control
KEBA AG                        Gewerbepark Urfahr, A-4041 Linz, Austria
www.keba.com                         Firmenbuchgericht Linz FN 184376 t
mailto:[EMAIL PROTECTED]  Phone: +43 732 7090-23120  Fax: +43 732 7090-63401



Reply via email to