Re: problem with GCJ while running java code

Cesc <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>

Andrew Haley wrote:
> 
> 
> Build gcc in a clean directory with --with-sysroot= pointing at your ARM
> root filesystem:
> 
> /home/aph/gcc/trunk/configure --prefix=/local/x-arm-gcc/install \
> --with-sysroot=/local/x-arm-gcc/rootfs-f8 --disable-libssp
> --disable-libgomp \
> --disable-libmudflap --enable-libgcj --disable-bootstrap
> --disable-multilib \
> --disable-static --disable-sjlj-exceptions --target=arm-linux-gnueabi
> --enable-languages=c,c++,java
> 
> make
> 
> 

Hi Andrew,

thanks for your hint. 

I'm getting this error when I do make:

../.././gcc/config/arm/arm.c: In function ‘thumb_find_work_register’:
../.././gcc/config/arm/arm.c:3567: error: ‘struct function’ has no member
named ‘args_info’
make[2]: *** [arm.o] Error 1
make[2]: Leaving directory `/root/tmp/trunk/host-i686-pc-linux-gnu/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/root/tmp/trunk'
make: *** [all] Error 2


Config:

./configure --prefix=/root/tmp/f8/install
--with-sysroot=/root/tmp/f8/rootfs-f8/ --disable-libssp --disable-libgomp
--disable-libmudflap --enable-libgcj --disable-bootstrap --disable-multilib
--disable-static --disable-sjlj-exceptions --target=arm-linux-gnueabi
--enable-languages=c,c++,java
--with-build-time-tools=/root/tmp/f8/rootfs-f8/usr/bin/

I'm doing this with Kubuntu (2.6.22.4), does it matter? should I try with
fedora 8?

Francesco


-- 
View this message in context: http://www.nabble.com/problem-with-GCJ-while-running-java-code-tp15455624p16648677.html
Sent from the gcc - java mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.