jv@mhres.mh.nl (Johan Vromans) (04/14/89)
Background: GCC 1.33 on HP9000/320 running HP-UX 6.2 Bringing up GCC on this system was easy, because the necessary files are all present in the distribution. However, I had to add the following definition to tm-hp9k320.h to satisfy the HPUX assembler for it didn't like the "gcc_compiled.:" line: #define ASM_IDENTIFY_GCC(FILE) [Context diff at the end of this posting] Also, I noted that there is no support for the standard HP-UX debugger: /u1/gnu > gcc -v -g t.c gcc version 1.33 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__mc68k__ -D__mc68000__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -D__HPUX_ASM__ t.c /tmp/cca09613.cpp GNU CPP version 1.33 /usr/local/lib/gcc-cc1 /tmp/cca09613.cpp -quiet -dumpbase t.c -g -version -o /tmp/cca09613.s cc1: Invalid option `-g' GNU C version 1.33 (68k, SGS/hpux syntax) compiled by GNU C version 1.33. /u1/gnu > ... nor for gdb: /u1/gnu > gcc -v -gg t.c gcc version 1.33 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__mc68k__ -D__mc68000__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -D__HPUX_ASM__ t.c /tmp/cca09616.cpp GNU CPP version 1.33 /usr/local/lib/gcc-cc1 /tmp/cca09616.cpp -quiet -dumpbase t.c -version -symout /tmp/cca09616.sym -o /tmp/cca09616.s GNU C version 1.33 (68k, SGS/hpux syntax) compiled by GNU C version 1.33. as -G /tmp/cca09616.sym /tmp/cca09616.s -o t.o as: warning: "" line 0: unrecognized option (-G), ignored as: Fatal error: "" line 0: multiple input files /u1/gnu > Is this correct or have I overlooked something? Johan Vromans jv@mh.nl via european backbone (mcvax) Multihouse Automatisering bv uucp: ..!{mcvax,hp4nl}!mh.nl!jv Doesburgweg 7 phone: +31 1820 62944 2803 PL Gouda - The Netherlands fax: +31 1820 62500 [Context diff as promised] ================ *** gcc-1.33/gcc-1.33/tm-hp9k320.h~ Wed Mar 15 12:08:56 1989 --- gcc-1.33/gcc-1.33/tm-hp9k320.h Wed Apr 12 21:57:03 1989 *************** *** 115,121 **** #undef FUNCTION_PROFILER #undef ASM_GLOBALIZE_LABEL #undef ASM_OUTPUT_INTERNAL_LABEL ! #define TARGET_VERSION fprintf (stderr, " (68k, SGS/hpux syntax)"); #define REGISTER_NAMES \ --- 115,121 ---- #undef FUNCTION_PROFILER #undef ASM_GLOBALIZE_LABEL #undef ASM_OUTPUT_INTERNAL_LABEL ! #define ASM_IDENTIFY_GCC(FILE) #define TARGET_VERSION fprintf (stderr, " (68k, SGS/hpux syntax)"); #define REGISTER_NAMES \ ================ -- Johan Vromans jv@mh.nl via european backbone (mcvax) Multihouse Automatisering bv uucp: ..!{mcvax,hp4nl}!mh.nl!jv Doesburgweg 7 phone: +31 1820 62944 2803 PL Gouda - The Netherlands fax: +31 1820 62500