problem with GCJ while running java code

gforgcc narendra.ka@lntemsys.com
Fri Feb 15 04:46:00 GMT 2008




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
> 
> make install
> 
> This should work equally well for Debian, etc.  You can use the root FS
> from any ARM EABI Linux system.
> 
> Testing, first compiling on the x86 host:
> 
> $ /local/x-arm-gcc/install/bin/arm-linux-gnueabi-gcj Hello.java 
> --main=Hello
> 
> And then running on the target, with the a.out we just made:
> 
> $ ./a.out
> Hello, World!
> Andrew.
> 
> 

woow... very useful info... :) :) i will try all these things and get back
if i have some problems regarding this...
thanks... :)

-- 
View this message in context: http://www.nabble.com/problem-with-GCJ-while-running-java-code-tp15455624p15494850.html
Sent from the gcc - java mailing list archive at Nabble.com.



More information about the Java mailing list