classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error


From: Mark Wielaard
Subject: Re: Compilation error
Date: 28 Apr 2002 14:43:43 +0200

Hi,

On Thu, 2002-04-25 at 19:47, Carlos Cavanna wrote:
> . ./configure --prefix=... --with-gcj --enable-jni
> 
> Then, when I run "make" I get:
> 
> Making all in lib
> make[1]: Entering directory
> `/scr1/cavanna/Thesis/classpath/classpath.cvs/classpath/lib'
> top_builddir=.. /bin/sh ./gen-classlist.sh standard
> /scr1/cavanna/bin/gcc-3.0.2/bin/gcj -bootclasspath '' -classpath
> ..:../vm/current:.: -C -d . @classes
> gcj: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [compile-classes] Error 1
> make[1]: Leaving directory
> `/scr1/cavanna/Thesis/classpath/classpath.cvs/classpath/lib'
> make: *** [all-recursive] Error 1
> 
> I am using gcj 3.0.2
> 
> I did compile previous versions of classpath before, and I am using the same
> commands
> I always use.
> 
> Does anyone know about this error ?

Yes, sorry about that. The CVS version can only be used with gcj 3.1
(which has not been released yet, but will be very soon). gcj 3.0.x
doesn't know about the -bootstrap flag. Please try a GCC 3.1 snapshot or
use jikes as compiler for now.

Brian, is there a way to check for the gcj version in the configure
script?

Cheers,

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]