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: multilib fixes for libjava


Jack Howarth writes:
 > Andrew,
 >    I believe the problem is that, unlike x86_64 which can
 > always run its 32-bit secondary binaries, Darwin is flipped
 > with 32-bit as default and it is not always true that
 > a Darwin PPC machine can run 64-bit binaries even though
 > the compiler can produce them (such as on a G4). Geoff's
 > changes in r117741 were designed to solve that problem.
 > I think the problem we have in libjava is that I am not
 > removing all of the custom code previously added to 
 > support multilib so that Geoff's new multi.m4 is in use.
 > This was done for libobjc for example...
 > 
 > 
 > While that suppressed the previous failures in that particular test,
 > I now see the failure...
 > 
 > checking whether the C compiler works... configure: error: cannot run C compiled programs.
 > If you meant to cross compile, use `--host'.
 > 
 > but now it has moved to the classpath subdirectory. So we are slowly
 > making progress here. Basically all the custom multilib code in libjava
 > has to be yanked in favor of Geoff's multi.m4 in config.

Well, OK.  If you get it all working on Darwin, submit a patch and
I'll test it on Linux.  If it doesn't break anything I'll approve it.

Andrew.


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