Hello, I run the contrib/download_ecj and rebuilt the java fe this time I get this new error when calling : /usr/local2/bin/gcj -save-temps Hello.java --main=Hello -v 2>&1 | grep ecj /usr/local2/libexec/gcc/i686-pc-linux-gnu/4.5.1/ecj1 Hello.java -g1 -fbootclasspath=./:/usr/local2/share/java/libgcj-4.5.1.jar -g1 -fsource=1.5 -ftarget=1.5 -fzip-dependency Hello.zip -fzip-target Hello.jar /usr/local2/libexec/gcc/i686-pc-linux-gnu/4.5.1/ecj1: error while loading shared libraries: libgcj_bc.so.1: cannot open shared object file: No such file or directory I think that I did not well rebuild the libgcj, can you specify the instructions to do that ? thank you very much Asma ----- Message d'origine ---- De : Andrew Haley <aph@xxxxxxxxxx> À : charfi asma <charfiasma@xxxxxxxx> Cc : gcc-help@xxxxxxxxxxx Envoyé le : Mar 14 septembre 2010, 15h 56min 11s Objet : Re: Re : can not find jc1 gcj or jvgenmain after gcc install On 09/14/2010 01:03 PM, charfi asma wrote: > this is exactly what I did to compile Hello.java using GCJ > > 1. downlad a release from the GCC web site: > 2. extract the bz2 file : # tar -xvjf gcc-4.5.1.tar.bz2 > 3. sh ./download_prerequisites after downlowd from > http://gcc.gnu.org/svn/gcc/trunk/contrib/download_prerequisites > > 4. # mkdir build_java > 5. # cd build_java/ > 6. # ../gcc-4.5.1/configure --enable-languages=c,c++,java --prefix=/usr/local2 > 7. # make > 8. # make install > 9. # /usr/local2/bin/gcj -save-temps Hello.java --main=Hello -v 2>&1 | grep ecj > > and I get this error: > > ecj1 Hello.java -g1 -fbootclasspath=./:/usr/local2/share/java/libgcj-4.5.1.jar > -g1 -fsource=1.5 -ftarget=1.5 -fzip-dependency Hello.zip -fzip-target Hello.jar > gcj: error trying to exec 'ecj1': execvp: Aucun fichier ou dossier de ce type > > info about my platform: > > # uname -a > Linux is010178 2.6.31.6-server-1mnb #1 SMP Tue Dec 8 16:48:07 EST 2009 i686 > Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GNU/Linux Run contrib/download_ecj and rebuild libgcj. Andrew.