This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with GCJ while running java code



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]