This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Re: Patch: IA-64 port


Jeff> What compiler defines __LP64__?  IA64?  Alpha does not, so
Jeff> libgcj is broken for now.

IA64 does.  Not only does Alpha not define it, but I'm told it never
will.  Bleah.  So we do have to find a different solution.

Jeff> I realize that you're avoiding autoconf-generated defines in the
Jeff> installed libgcj headers.  So instead we assume (SIZEOF_VOID_P
Jeff> == 8) iff __LP64__ is defined, however we cannot rely on this.

Maybe we should just use __LP64__ everywhere?
I'm not sure.  This was added to let the interpreter work on IA64.

Jeff> I know it has been discussed before, but why not simply include config.h
Jeff> in the installed headers?

This leads to problems of various sorts.

One big problem is deciding where to install this config.h.  We'd want
to make it always visible.  But it also has to go into a
architecture-dependent directory (if we want to conform to the GNU
coding standards).

We'd also have to rename all the macros in config.h.
(libjpeg doesn't do this and the result is hell.)

Tom

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