This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

GCC 3.1 on hppa2.0w-hp-hpux11.11


Whilst some binaries were happy to be copied from HP-UX 11.00 to 11.11,
the GNU Compiler was not - at least on our systems.  HP have changed some
of the header files, and included new typedefs that resulted in
compilation errors (on other programs) when using our previously built
version. The pre-built binaries of gcc 3.1 (for 11.00) didn't work for me
either. 

I think the "host/target specific installation notes" could do with a
bigger clue bat to state that GNU's as(1) must be used - rather than
saying that GNU's binutils must be used. Otherwise the comparison checks
between stages 2 and 3 will fail. 

$ /usr/local/src/gcc-3.1/config_guess
hppa2.0w-hp-hpux11.11
$ gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.1/specs
Configured with: /usr/local/src/gcc-3.1/configure --prefix=/opt/gcc
--with-gnu-as --with-as=/opt/binutils/bin/as
Thread model: single
gcc version 3.1

In the end it simply boils down to getting hold of GAS (the 11.00 binary
works ok), and setting the appropriate configure flags. 

Oh, and HP-UX doesn't come with 'Mail' for sending in the test results.
I'll send those shortly though.

-- 
Dave Roberts, SAA Consultants Ltd, Plymouth, UK
Servicing the Online Organisation   http://www.saaconsultants.com/




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