Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!udel!rochester!pt.cs.cmu.edu!a.gp.cs.cmu.edu!mwm From: mwm@a.gp.cs.cmu.edu (Mark Maimone) Newsgroups: comp.lang.fortran Subject: Re: FORTRAN TO C (MS-DOS) ? Keywords: f2c msdos Message-ID: <10785@pt.cs.cmu.edu> Date: 17 Oct 90 16:51:04 GMT References: <426.271c41e9@vax87.aud.auc.dk> Organization: Carnegie-Mellon University, CS/RI Lines: 16 It is indeed possible to run f2c-generated C code under MSDOS. It does take some extra work, however, since the I/O and math libraries must also be compiled on the MSDOS machine. You might also have to adjust the typedefs in f2c.h to match your memory model. There were some problems with older versions of the f2c libraries, but these have been fixed. So if you grab a current copy of f2c, libf77, and libi77 from research.att.com (in directory dist/f2c), and find a good C compiler things should work out. I've heard that Microsoft C 6.0 and Turbo C++ have been used successfully. -- ---------------------------------------------------------------------- Mark Maimone phone: (412) 268 - 7698 Carnegie Mellon Computer Science email: mwm@cs.cmu.edu grad student, vocal jazz and PDQ Bach enthusiast