This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Bug while compiling libgcj under AIX
- From: "Dean Hill" <dhill at hotmail dot com>
- To: java at gcc dot gnu dot org, aph at redhat dot com
- Date: Mon, 05 Jan 2004 16:39:14 +0000
- Subject: Bug while compiling libgcj under AIX
- Bcc:
FYI: I've been communicating with Andrew Haley while I'm trying to build
libgcj under AIX. I sent some diagnostic info to Andrew on Friday, 1/2/04.
I think I just discovered a small "configure" bug when building fastjar. AIX
is a big endian machine. The configure script creates config.h containing
the define ?WORDS_BIG_ENDIAN 1?. However jartool.c (which includes config.h)
tests for ?WORDS_BIGENDIAN? (no second underscore).
To get a correct fastjar executable, I had to change config.h to
?WORDS_BIGENDIAN 1?. Of course jartool.c could have been changed instead (so
long as config.h and jartool.c are in agreement).
If this fix is not made, then you get a fastjar executable that runs, but it
will think all jar files are invalid because the jar header/signature is
interpreted as little endian.
I hope this info helps.
Dean Hill
_________________________________________________________________
Tired of slow downloads? Compare online deals from your local high-speed
providers now. https://broadband.msn.com