Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCJ - install problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
biehl
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2003
Posts: 109
Location: Copenhagen/Denmark/European Union

PostPosted: Sat Dec 27, 2003 9:42 am    Post subject: GCJ - install problem Reply with quote

Hi,

the following is a crosspost from
https://forums.gentoo.org/viewtopic.php?t=108718&start=25
--------------------

ok, after a reboot (!) the gcc-config also affected my useraccount, good.

now my problem is

Code:

bash-2.05b$ gcj -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Reading specs from libgcj.spec
gcj: libgcj.spec: No such file or directory


which is strange, because
Code:


bash-2.05b$ locate libgcj.spec
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libgcj.spec
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4/libgcj.spec



and

Code:

bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: /var/tmp/portage/gcc-3.4/work/gcc-3.4-20031224/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib : (reconfigured) /var/tmp/portage/gcc-3.4/work/gcc-3.4-20031224/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib
Thread model: posix
gcc version 3.4.0 20031224 (experimental)


also
g++ -v, g77 -v give the same as above as far as I can see. In the gcc-3.2.3 ebuild that I have as standard gcj -v works.

also
there is some gcj functionality in there as

Code:

cp=.:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/java/libgcj-3.4.0.jar

export CLASSPATH=cp
export classpath=cp

gcc CountColumn.java


gives (where CountColumn is just an interface)

Code:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/ccxpFDln.o(.data+0x60): undefined reference to `vtable for java::lang::Class'
collect2: ld returned 1 exit status




Any ideas?

-Anders
_________________
1) Dell Inspiron 8600, 1,4GHz PM, GeForce 5650Go
2) Custom, AMD64 Winchester 3000+, Asus A8V Deluxe, GeForce 5200
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum