Problems with GCJ, need a help!

Norbert Frese postfach@nfrese.net
Sun Sep 14 16:23:00 GMT 2003


hi andrew,

i've just read your message on the gcj mailing list.

i have played with gcj and rmi a while ago and i think the rmi-library
before gcj 3.4 ist very inmature and does not work.

-> get gcj 3.4 from cvs and compile it on your system (below is a little
guide how i did that).

you might find this bug-report interesting:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7938
i have attached a few comments and a little rmi-test-program.

regards 
norbert

-------------------------- 

mkdir gcc_cvs
cd gcc_cvs

export CVSROOT=:pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc

cvs -z 9 co gcc

cd ..
mkdir bld_gcc
cd bld_gcc

../gcc_cvs/gcc/configure --prefix=/usr/local/mygcj

make

su root

make install

*** to set the paths create the script: set_gcj_3.4_path.sh
---------------------------------------------------

PATH=/usr/local/mygcj/bin:$PATH
export PATH
LD_LIBRARY_PATH=/usr/local/mygcj/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

bash

---------------------------------------------------

test gcj version with gcj -v



More information about the Java mailing list