This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiling 4.1.2 with CLASSPATH: Error libgcj.spec not existing


Hi!

I made a gcj for the arm-v4t-gnueabi architecture.

I'm using gcc version 4.1.2, the sysroot I need to buld this with,
complained about errors, when I used it with the latest version of gcc.

Now I was successful compiling gcj for my targeted architecture. and in
order to actually use this gcj, I wanted to use classpath.

So I configured and made classpath.

But when I try to compile a .java file, all I get is the error, that
libgcj.spec was not found.

I checked and indeed, libgcj.spec is missing, but there is an
libgcj.spec.in in the libjava directory of gcc!

Did I miss anything when I was compiling?

(LD_LIBRARY_PATH and CLASSPATH are set correctly)

it seems like libjava was not built, however I configured with
--enable-languages=java.

this is what I configured gcj with:
 PATH=$PATH:~/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/bin
../gcc-4.1.2/configure --target=arm-v4t-linux-gnueabi
--prefix=/home/bereziak/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18
--with-sysroot=/home/bereziak/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/sysroot-arm-v4t-linux-gnueabi
--with-arch=armv4t --with-float=soft --with-fpu=vfp --disable-nls
--disable-multilib --enable-symvers=gnu --enable-__cxa_atexit
--enable-shared --enable-threads=posix --enable-languages=java
--enable-long-long --with-gmp=/usr/local/lib --with-mpfr=/usr/local/lib
--disable-sjlj-exceptions

and this is what I coonfigured classpath with:

PATH=$PATH:~/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/bin
../classpath-0.96.1/configure --target=arm-v4t-linux-gnueabi
--prefix=/home/bereziak/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18
--with-sysroot=/home/bereziak/devel/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/sysroot-arm-v4t-linux-gnueabi

Should I make classpath before making gcj?
How to make that libjava.spec file?
To what exactly should CLASSPATH be set, /lib or /lib/classpath ?

Regards,
--polemon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]