This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Building eclipse batch compiler using gcj
- From: Tom Tromey <tromey at redhat dot com>
- To: Olivier Thomann <Olivier_Thomann at ca dot ibm dot com>
- Cc: java at gcc dot gnu dot org
- Date: 21 Jun 2005 12:12:43 -0600
- Subject: Re: Building eclipse batch compiler using gcj
- References: <OFC38CE4BD.E567C97F-ON85257027.004F7A50-85257027.004F85B0@ca.ibm.com>
- Reply-to: tromey at redhat dot com
>>>>> "Olivier" == Olivier Thomann <Olivier_Thomann@ca.ibm.com> writes:
Olivier> I am trying for fun to build an executable of the Eclipse
Olivier> batch compiler using gcj 3.4.4.
You may want to try gcj 4.0, which was released a while back.
Olivier> Everything works fine till the linking of the executable. It
Olivier> seems that gcj doesn't like to new way to retrieve nls
Olivier> messages.
Olivier> D:\eclipse\workspaces\bingcj\tmp\org\eclipse\jdt\internal\compiler\ClassFile.o:ClassFile.java:(.text+0x1cf):
Olivier> undefined reference to
Olivier> `org::eclipse::jdt::internal::compiler::util::Messages::class$'
I see this on the link line:
D:\eclipse\workspaces\bingcj\tmp\org\eclipse\jdt\internal\compiler\util\messages.o
Perhaps this is a compiled resource file? And due to
case-insensitivity on Windows it overwrote the object file
corresponding to the missing class? That is my first guess anyway.
If it isn't that, we have some more debugging to do ...
Tom