[comp.sys.ibm.pc] cpp for pc

mlj8e@mljsg.pharm.Virginia.EDU (Michael Johnson) (06/29/90)

We have an application which runs on system V unix which we want
to port to a PC.  This application requires the Unix utility
cpp and we have been unable to find a pc version of cpp which
is compatible with Unix cpp.  Sounds simple right, but the problem
is that all of the cpp utilities which we have found include
"enhancements" to do more things than the Unix cpp.  These 
"enhancements" keep our application from working correctly.  

We have tried Metaware Hi-C, Microsoft V6.0 and Borland C.  At first
glance they all claim to have cpp.  However, the cpp (or c complier
with the -P option) does more things than the unix cpp.
For example, some include the unix lint utility by default.  Others
delete excess blank characters and/or excess tab characters.

Can anyone email me a suggestion about a 100% compatible MS-DOS cpp
utility which produces the same output file as a system V unix cpp?
By the same I mean that it should not check anything which is not
required for cpp and it should not alter the non-cpp commands in the
file.
--
(804)-924-8607                   Michael L. Johnson
mlj8e@mljsg.pharm.Virginia.EDU   Pharmacology Dept.
mlj8e@Virginia.BITNET            Box 448; Univ. of Va.  
                                 Charlottesville, Va. 22908

swh@hpcupt1.HP.COM (Steve Harrold) (06/30/90)

>>> Can anyone email me a suggestion about a 100% compatible MS-DOS cpp
>>> utility which produces the same output file as a system V unix cpp?
----------

Look into a recent posting called "jrcpp".  It seemed to provide a complete
C pre-processor that understands ANSI C.