> In order to build gcc 4.1.1 on HP-UX 10.20 I had to install GNU awk
> and also configure with --disable-threads.  The vendor's awk did not
> build the options.h file correctly; the exact symptom was duplicated
> OPT_d and OPT_w symbols in the enum.  Then, the build blew up when it
> tried to use pthreads (which don't exist on HP-UX 10.20, or at least
> not in a form that gcc expects).

Bug reports should be filed for these two problems.  Do you have
PHCO_20721 and PHCO_26158 installed?  Locale might the behavior
of awk in generating options.h.

Personally, I always use GNU tools (e.g., gawk, sed, make, texinfo)
for my builds as I find this avoids a lot of problems.

Regarding the use of pthreads, that's strange.  Without --disable-threads,
GCC should use DCE threads on hpux10.  GCC definitely knows about the
threads available in HP-UX 10.  See for example, gthr-dce.h.

I should note that libjava isn't supported on HP-UX 10.20.  Without
libjava, building the java language is largely just an extra test
of the bootstrap process.

GCC 4.2.0 will be the first release supporting libjava on PA-RISC HP-UX.
Currently, this only works with the 32-bit HP-UX 11 port.  We don't yet
have a 64-bit port of libffi.  It's needed to build libjava.  Also,
boehm-gc and libjava need POSIX threads for full functionality, and
the don't support DCE threads.  For this reason, the toplevel configure
file disables building libjava on HP-UX 10.  These libraries will build
without threads and it's possible that this will work under HP-UX 10,
but I haven't had a chance to test this.

Dave
-- 
J. David Anglin                                  [EMAIL PROTECTED]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Reply via email to