develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [patch] MM_Unix cpprun shortcut

Thread Previous | Thread Next
Nick Ing-Simmons
January 3, 2001 14:52
Re: [patch] MM_Unix cpprun shortcut
Message ID:
Philip Newton <> writes:
>On 1 Jan 01, at 13:26, Doug MacEachern wrote:
>> this patch adds
>>  make ModuleName.pp
>> as a shortcut for:
>>  make "CC=cc -E" ModuleName.o > ModuleName.pp
>I think you mean s/\.o/.c/ here (and that's what your patch says, too.)
>But isn't *.i a semi-standard suffix for preprocessed C source? I don't 
>think I've seen *.pp before.

Yes .i is the standard. I would love to be able to ask folk to say 

make tkGlue.i 

or whatever and have them send that rather than try and second guess which
include file has done what. 

>gcc seems to have this suffix built in, too; its info file says that 
>FILE.i is "C source code which should not be preprocessed" and has a 
>pendant FILE.ii for C++ code.
Nick Ing-Simmons

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About