[comp.sys.hp] gcc and HP-UX

pearmana@prlhp1.prl.philips.co.uk (Andy Pearman) (09/07/89)

Hi,

Can anyone please help !!!!


I am trying to install GNU C compiler gcc on an HP 9000-350 running
HP-UX 6.21

I have so far sucessfully installed bison.

I am following the instructions in the gcc INSTALL file.  I have 
run config.gcc using hp9k320 as 1st parameter to use HP-UX assembler.

Now the problem starts when I run make.  It complains with a message like :-

c-parse.y line 300  Warning: enumeration type clash, operator ==

and it does the same for virtually every other file its compiling.


If anyone can shed any light as to how I can stop this or indeed give
me any pointers as to any mods that need to be done for HP-UX I 
would be very grateful.

   Andy.
-- 

Andy Pearman, Computer Dept, Philips Research Labs, Redhill, Surrey, England. 
              pearmana@prl.philips.co.uk

crouch@zaphod.axion.bt.co.uk (Chris Rouch) (09/11/89)

From article <971@prlhp1.prl.philips.co.uk>, by pearmana@prlhp1.prl.philips.co.uk (Andy Pearman):
> I am trying to install GNU C compiler gcc on an HP 9000-350 running
> HP-UX 6.21
> I am following the instructions in the gcc INSTALL file.  I have 
> run config.gcc using hp9k320 as 1st parameter to use HP-UX assembler.
> 
> Now the problem starts when I run make.  It complains with a message like :-
> c-parse.y line 300  Warning: enumeration type clash, operator ==
> and it does the same for virtually every other file its compiling.


I got exactly the same. However this doesn't seem to matter. If you ignore
these messages and carry on through the installation process you should find
that gcc compiles and then compiles itself, and if you do it twice (as
suggested), the binaries match.

Chris
-------------------------------------------------------------------------------
Chris Rouch                                               crouch@axion.bt.co.uk
RT3141, BTRL, Martlesham Heath, Ipswich, England.                +44 473 646093

unspoilt by progress