------- Additional Comments From ngmlinux at gmail dot com  2005-08-26 14:22 
-------
Subject: Re:  Building gcc-4.0.1 toolchain for arm-linux fails durring "make"

> do build it this way: gcj HelloWorld.java --main=HelloWorld -g -o 
> HelloWorld.exe

Still reporting an error, althought slightly different:

===code=======================================================
[EMAIL PROTECTED] java_xcompile]# /usr/local/bin/arm-linux-gcj
HelloWorld.java --main=HelloWorld -g -o HelloWorld.exe
/root/tmp/cc4BfgHh.o: In function `main':
/root/tmp/ccyhMgPq.i:12: undefined reference to `HelloWorld::class$'
collect2: ld returned 1 exit status
==============================================================

Here's my complete HelloWorld.java source if there's any chance that
is wrong or needs something special for gcj:

===code=======================================================
class HelloWorldApp {
    public static void main (String args[]) {
        System.out.println("Hello World!");
    }
}
==============================================================

-Nathan


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23569

Reply via email to