cpp behaviour using "-M" switch

From: Alessandro Brunengo <Alessandro.Brunengo_at_ge.infn.it>
Date: Fri, 07 Apr 2000 10:33:36 +0200 (MET DST)

Dear gurus,

trying to get a dependencies file with the preprocessor that come with the
DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229), I got a behavior
different from what is specified in the man pages:
the output coming from the compilation of a program of extension .cc is
something like

x.co: x.cc

instead of the expected ( and the one that i get with DEC C V5.6-071 on
Digital UNIX V4.0 (Rev. 878) )

x.o: x.cc

That is: cpp doesn't change the "extension" in ".o", but only the last
letter. It happens also using sources named .for, .FOR, and so on.
Is this a known bug or I'm doing something wrong?

Thank you in advance.


                                Alessandro





============================================================

Alessandro Brunengo
System and Network Administrator
Istituto Nazionale di Fisica Nucleare
Via Dodecaneso, 33
16146 - Genova - ITALY
tel. +39-010-3536317
fax. +39-010-310461
Received on Fri Apr 07 2000 - 08:34:26 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT