[gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?! (was Re: ecj branch)

Tom Tromey tromey@redhat.com
Wed Dec 6 00:17:00 GMT 2006


>>>>> "Andi" == Andi Vajda <andi@osafoundation.org> writes:

Andi> I've had problems with bytecode and platform independence recently,
Andi> albeit not with ecj1. The issue I've noticed is that when compiling
Andi> Java Lucene from .java to .class to .jar with a non gcj javac such as
Andi> Apple's, Sun's or Blackdown's, using these bits to then compile from
Andi> .jar to .o with gcj, the resulting executables will or will not
Andi> perform correctly depending on where the .java compilation took place.

This is very, very weird.  It is weird enough that I'm having trouble
thinking of a way this could happen.

What does the failure look like?

Maybe comparing 2 such .class files would be helpful.

Tom



More information about the Java mailing list