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: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?! (was Re: ecj branch)


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


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