f2c.h F77 from the past around 1990's

john keays john@keays.com.au
Thu Dec 4 08:55:00 GMT 2008


To GNU fortran

Helllppp

I have used f77 for years and then lost a hard disk with the compiler.

I download f2c.exe to run under cmd in windows and it compilers from
fred.f to fred.c.

If I turn on the -P and -c flag I get fred.P whatever that is.

Now the old system created a f2c.h as it compiled the 50 source deck files
and then used the f2c.h as an include file.

I have been using Visual Studio 6 1997 as the the compiler for the C side
and that seems to go okay from fred.c to fred.o except I need a new f2c.h
with all the subroutine calls and the common blocks.  An old f2c.h seems
incompatible.  I will need to get a new f2c.h as it changes when I change
common blocks.

What flag do I set in the f2c.exe.  I used to do it all under unix for
windows and had the button preset.  It would be better to have it as
command lines in DOS.

Cheers

John Keays


-- 
John Keays:phone +617.3870-1711 fax +617.38701784
PO Box 80, Toowong, Brisbane, Queensland,4066
Australia.    www.keays.com.au




More information about the Fortran mailing list