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 on HP-UX


I test the GC regularly, though not terribly thoroughly, on HP/UX.
It should work out of the box.  Libffi used to be the major issue in
my mind.  But there is now a libffi port to Linux on PA, from what I
can see.  It should be pretty easy to adapt that.

My impression is that the only real issue now is that nobody has actually
put the whole thing together and made it work.  All the major pieces seem
to be in place.

Hans

> -----Original Message-----
> From: java-owner@gcc.gnu.org 
> [mailto:java-owner@gcc.gnu.org]On Behalf Of
> Tom Tromey
> Sent: Friday, January 28, 2005 8:13 AM
> To: mariner ux
> Cc: java@gcc.gnu.org
> Subject: Re: gcj on HP-UX
> 
> 
> >>>>> ">" == mariner ux <marinerux@gmx.net> writes:
> 
> >> Why is this configuration not supportet for "
> >> target-libffi target-boehm-gc target-zlib target-libjava 
> target-libf2c
> >> target-libobjc "? 
> >> I think i need all those subdirectories to have a working 
> java compiler,
> >> isn't it?
> 
> Yes, you need at least boehm-gc, zlib, and libjava.
> Ordinarily ports are turned off by default until someone makes them
> work.  In some cases this is easy, though HP-UX has a bad reputation
> so you might find it difficult.
> 
> >> The second error occured:../../gcc/gcc/gthr-posix.h:483: 
> warning: return
> >> makes pointer from integer without a cast
> >> ../../gcc/gcc/gthr-posix.h: At top level:
> >> ../../gcc/gcc/gthr-posix.h:487: error: parse error before "key"
> >> ../../gcc/gcc/gthr-posix.h:488: warning: function 
> declaration isn't a
> >> prototype
> 
> Probably a bug in gthr-posix.h of some kind.  Maybe a missing 
> #include.
> Or maybe HP-UX doesn't have the necessary posix thread support, I
> don't know.
> 
> Like Michael, I recommend starting with a more recent version of gcc.
> The most difficult part of the port is likely to be the GC; most of
> libjava is actually fairly easy to port to another unixy system.
> 
> Tom
> 


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