This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I compiled with success a gcc-3.2.3-glibc-2.3.2 with this gcc (GCC) 3.4.6 (Ubuntu 3.4.6-3ubuntu1)
$ cat /home/dcabaton/HelloWorld/Test.java import java.lang.*; class Test { public static void main(String args[]) { System.out.println("Hello world.\n"); } };
$ ./powerpc-603-linux-gnu-gcj --main=Test -o Test /home/obelix/HelloWorld/Test.java /tmp/ccpMmFVR.o(.text+0x1e): In function `main': : undefined reference to `_Jv_Compiler_Properties' /tmp/ccpMmFVR.o(.text+0x2a): In function `main': : undefined reference to `_Jv_Compiler_Properties' /tmp/ccpMmFVR.o(.text+0x40): In function `main': : undefined reference to `JvRunMain' /tmp/cc2QBnai.o(.text+0x20): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `_Jv_InitClass' /tmp/cc2QBnai.o(.text+0x26): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::class$' /tmp/cc2QBnai.o(.text+0x2a): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::class$' /tmp/cc2QBnai.o(.text+0x66): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::class$' /tmp/cc2QBnai.o(.text+0x6a): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::class$' /tmp/cc2QBnai.o(.text+0x6c): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `_Jv_InitClass' /tmp/cc2QBnai.o(.text+0x7a): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::out' /tmp/cc2QBnai.o(.text+0x7e): In function `Test::main(JArray<java::lang::String*>*)': : undefined reference to `java::lang::System::out' /tmp/cc2QBnai.o(.text+0xd8): In function `Test::Test[in-charge]()': : undefined reference to `java::lang::Object::Object[in-charge]()' /tmp/cc2QBnai.o(.data+0x38): undefined reference to `java::lang::Object::finalize()' /tmp/cc2QBnai.o(.data+0x3c): undefined reference to `java::lang::Object::hashCode()' /tmp/cc2QBnai.o(.data+0x40): undefined reference to `java::lang::Object::equals(java::lang::Object*)' /tmp/cc2QBnai.o(.data+0x44): undefined reference to `java::lang::Object::toString()' /tmp/cc2QBnai.o(.data+0x48): undefined reference to `java::lang::Object::clone()' /tmp/cc2QBnai.o(.data+0x58): undefined reference to `vtable for java::lang::Class' /tmp/cc2QBnai.o(.data+0x6c): undefined reference to `java::lang::Object::class$' /tmp/cc2QBnai.o(.eh_frame+0x11): undefined reference to `__gcj_personality_v0' collect2: ld returned 1 exit status
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |