This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ecj branch
paul wisehart writes:
> Tom Tromey wrote:
> > Andrew> Tom Tromey (I'm sure he's watching) will be pleased to explain
> > Andrew> to you the easiest way to install the tools (ecj, gjavah etc.)
> > Andrew> that you need. :-)
> >
> > The build is currently set up to automatically use ecj.jar if it is in
> > the top-level srcdir. So step one is:
> >
> > cd $topsrcdir
> > ./contrib/download_ecj
> >
> > The libjava configure will pick up the ecj .jar and use it.
> > We probably ought to make the gjavah bits as simple to use as this.
> > Meanwhile you must...
> >
>
> ...
> c -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2
> -g -O2 -c ../.././libgfortran/io/unix.c -fPIC -DPIC -o .libs/unix.o
> /tmp/ccM1A3TH.s: Assembler messages:
> /tmp/ccM1A3TH.s:6231: Error: symbol `fstat64' is already defined
> /tmp/ccM1A3TH.s:6264: Error: symbol `lstat64' is already defined
> /tmp/ccM1A3TH.s:6403: Error: symbol `stat64' is already defined
> make[3]: *** [unix.lo] Error 1
> make[3]: Leaving directory
> `/data/home/wise/GCJ/gcj-eclipse-merge-branch/i686-pc-linux-gnu/libgfortran'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/data/home/wise/GCJ/gcj-eclipse-merge-branch/i686-pc-linux-gnu/libgfortran'
> make[1]: *** [all-target-libgfortran] Error 2
> make[1]: Leaving directory `/data/home/wise/GCJ/gcj-eclipse-merge-branch'
> make: *** [all] Error 2
>
>
> I'm getting that error when I try to build gcc using the
> svn://gcc.gnu.org/svn/gcc/branches/gcj/gcj-eclipse-merge-branch
> branch.
>
> I'm doing ./configure --prefix=/home/wise/local_root .
FORTRAN probably doesn't work on that branch. Unless you really want
FORTRAN, configure with --enable-languages=java. Oh, and don't build
in srcdir.
Andrew.