classpath
[Top][All Lists]
Advanced

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

Re: Compilation error


From: Brian Jones
Subject: Re: Compilation error
Date: 28 Apr 2002 13:18:24 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Mark Wielaard <address@hidden> writes:

> 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?

Sure, I've added it as a warning just now which also removes it from
the list of available choices later in configure so if jikes or kjc is
found things continue.

Brian
-- 
Brian Jones <address@hidden>



reply via email to

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