This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Build question regarding 64-bit HPUX 11.00
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Build question regarding 64-bit HPUX 11.00
- From: Robert A Nesius <rnesius at ichips dot intel dot com>
- Date: Mon, 9 Jul 2001 19:31:52 -0700 (PDT)
- cc: <gcc-help at gcc dot gnu dot org>
On 7 Jul 2001, Alexandre Oliva wrote:
> On Jul 6, 2001, Robert A Nesius <rnesius@ichips.intel.com> wrote:
>
> > For the gcc stage, I configured with CC and CFLAGS as above, pointed
> > configure explicitly at the gnu assembler I built, and specified
> > --enable-shared. The build subsequently tries to feed -fPIC to the
> > compiler.
>
> Are you using GNU make? I believe this symptom you describe is that
> of a bug in HP-UX's make.
>
Yep. I'm using gnu make. I reconfigured with make aliased to gmake
just to make sure and the error still occurred. (it did)
I subsequently changed config/mt-papic to:
[rnesius@plxw0032 config]$ cat mh-papic
# PICFLAG=-fPIC
PICFLAG=+Z
and that seems to get +Z feeding into ansic. I'm trying to build
a 32-bit gcc with /opt/ansic.
Hopefully I can use that to build a cross compiler for PA64 and
then use the cross compiler to build a real PA64 compiler.
That seems a bit much given that ansic seemed to build a valid
stage1/xgcc, but during stage1 when xgcc tried to link something
the build blew up because 32-bit and 64-bit objects were being
linked together.
-Rob
--
#include <sig.h>
------------------------------------------------------------------
Robert Nesius rnesius@ichips.intel.com 503.712.2181
DPG Engineering Computing SW Applications Team