cpp incompatability with f2c?

kingscup

Registered
Mac OS X 10.3.2 appears to have ccp version 6.5 (Berkeley) 4/1/91. The second line of its output is

#pragma GCC xxx some other stuff...

No problem for a C compiler. Except it breaks f2c. The consequence is that if I run f2c on a file with .F extension, then cpp is run first, it inserts the pragmatic line, and then the f2c bombs. I don't know how to check what the version is of f2c.

Any suggestions (other than abandoning fortran.F files...)

Thanks, John
 
Back
Top