This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj on HP-UX
- From: Tom Tromey <tromey at redhat dot com>
- To: "mariner ux" <marinerux at gmx dot net>
- Cc: java at gcc dot gnu dot org
- Date: 28 Jan 2005 09:13:29 -0700
- Subject: Re: gcj on HP-UX
- References: <23403.1106900011@www41.gmx.net>
- Reply-to: tromey at redhat dot com
>>>>> ">" == 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