I have both javac and ecj installed on my system.
I configured Classpath with "--with-ecj=... --without-javac".

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

Hence, java files are compiled with javac, not ecj
(which is not what I wanted).

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).

I was unable to teach configure not to use javac.

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


-- 
           Summary: configure configures javac even with --without-javac
           Product: classpath
           Version: 0.96
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kus at keba dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



_______________________________________________
Bug-classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to