Bit sure I understand what you are doing but I'll insert some comments...
Originally Posted by espo111
i need to recompile gcc with gjc java compiler. but i dont know how to do this.
I have a gentoo 2006.1 base system using the offical kernel 126.96.36.199
i tried using gentoo portage:
USE="gjc" emerge gcc and it compiled but i still have the problem.
i am trying to install gnome 2.16 using garnome (not portage) and i get stuck at
configure: error GJC version 3.0.0 or greater is required.
it also says to set the GJC_HOME variable if it is installed or add the top directory where GCJ binaries are to path. but im not even sure where to check for the binaries.
I use the command "which gjc" outputs: no gjc in (/usr/local/sbin:/usr/local/bin......)
any help with this would be great as there is little information on my problem.
My understanding is you need GCJ. I'm running CentOS and it is installed already. Do you have the gcj command on your system? I.e. you could run
find . -name gcj -print
and see. Then maybe set GCJ_HOME as well as add a symbolic link in /usr/bin. Below is output how my system is setup.
Post back if this does not help.
[root@localhost etc]# gcj -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/libgcj.spec
rename spec lib to liborig
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[root@localhost etc]# whereis gcj
gcj: /usr/bin/gcj /usr/share/man/man1/gcj.1.gz