shaker@CISCO.COM (04/22/89)
Has anyone *successfully* created GCC 1.34 on HP-UX 6.2? I followed the installation instructions for configuration: % config.gcc hp9k320 Linked `config.h' to `xm-hp9k320.h'. Linked `tm.h' to `tm-hp9k320.h'. Linked `md' to `m68k.md'. Linked `aux-output.c' to `output-m68k.c'. Links are now set up for use with a hp9k320. % Next, I cleaned up because this directory had been used to build gcc for our Sun: % make clean % rm gnulib Then, I made the recommended Makefile changes for HP-UX: INSTALL=cp CFLAGS = -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 CCLIBFLAGS = -Wc,-Ns2000 -Wc,-Ne700 #ALLOCA = alloca.o CLIB= -lPW OBSTACK=obstack.o However, when I type "make", the compilation results in 3,921 warnings about: "enumeration type clash" No *error* messages are evident in the compilations or linking. Next, I "make stage1" and attempt to recompile gcc with gcc, getting: % make stage1 mkdir stage1 mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c genemit genoutput genrecog genextract genflags gencodes genconfig genpeep cc1 cpp cccp gcc stage1 rm -f stage1/gnulib ln gnulib stage1 || (cp gnulib stage1 && ranlib stage1/gnulib) % make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" stage1/gcc -g -O -Bstage1/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c gcc.c:122: warning: parameter name starts with a digit in #define gcc.c:122: badly punctuated parameter list in #define stage1/gcc: Program cpp got fatal signal 11. *** Error code 1 Stop. % As far as I can tell, gcc.c looks fine and these error messages are bogus. Has anyone else ran into this problem? How did you get around it? Thank you, Chris Shaker shaker@cisco.com