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: Building eclipse batch compiler using gcj


>>>>> "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


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