Article View: gnu.gcc.bug
Article #2536bug in gcc driver
From: Johan Vromans
Date: Fri, 14 Apr 1989 07:52
Date: Fri, 14 Apr 1989 07:52
34 lines
1688 bytes
1688 bytes
Background: GCC version 1.33 on HP9000/320 running HP-UX 6.2
If the GCC-preprocessor is missing, GCC terminates without doing
anything. Not even a warning or other diagnostic message.
Example: compile a test program (essentially empty), rename gcc-cpp
and re-try the compilation
~ > cat t.c
main ()
{
;
}
~ > gcc -v -c 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/cca09560.cpp
GNU CPP version 1.33
/usr/local/lib/gcc-cc1 /tmp/cca09560.cpp -quiet -dumpbase t.c -version -o /tmp/cca09560.s
GNU C version 1.33 (68k, SGS/hpux syntax) compiled by GNU C version 1.33.
as /tmp/cca09560.s -o t.o
~ > mv /usr/local/lib/gcc-cpp /usr/local/lib/gcc--cpp
~ > gcc -v -c t.c
gcc version 1.33
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/cca09567.cpp
~ >
~ >
End of example.
--
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
Technical Details
Message-ID:
<3020@mhres.mh.nl>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!mcvax!hp4nl!mhres!jvShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!mcvax!hp4nl!mhres!jv From: jv@mhres.mh.nl (Johan Vromans) Newsgroups: gnu.gcc.bug Subject: bug in gcc driver Message-ID: <3020@mhres.mh.nl> Date: 14 Apr 89 07:52:09 GMT Organization: Multihouse NV, the Netherlands Lines: 34