Problems compiling gcc 2.95.1 with cc on HPUX 10.20: unknown preprocessing directive

Detlef Jockheck cad.adp@t-online.de
Tue Oct 12 05:21:00 GMT 1999


Hello,

I want to compile the gcc V 2.95.1 on my HP-Machine (HP B180L, HPUX
10.20)
with the preinstalled cc-Compiler. After typing "make" I got the
following
message:

cpp: "target.h", line 48: warning 2013: Unknown preprocessing directive.
cpp: "target.h", line 48: warning 2013: Unknown preprocessing directive.
cpp: "bld.h", line 132: warning 2013: Unknown preprocessing directive.
cpp: "bld.h", line 763: warning 2013: Unknown preprocessing directive.
make[2]: *** [bad.o] Error 1
make[2]: Leaving directory `/home/gnu/gcc-2.95.1/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/home/gnu/gcc-2.95.1/gcc'
make: *** [all-gcc] Error 2

The unknown preprocessing directive seems to be a line (in bld.h) like

   762  #else
>  763  #error
   764  #endif

Is this a known problem?

best regards
Detlef Jockheck

--
# adp Gauselmann GmbH
# Detlef Jockheck    
# cad.adp@t-online.de
#####################


More information about the Gcc-help mailing list