g77/gcc & #define in FORTRAN

Tim Prince n8tm@aol.comnojunk
Thu Sep 9 22:35:00 GMT 1999


> > g77 t.f
>t.f:4: undefined or invalid # directive

rtfm, like any Unix compiler with similar features, you must specify
appropriate command line options or name the file with .F in order to invoke
cpp implicitly.
Tim Prince
tprince@computer.org


More information about the Gcc-help mailing list