Computing.Net > Forums > Programming > compile Fortran code for Windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

compile Fortran code for Windows

Reply to Message Icon

Name: Jason
Date: August 18, 2003 at 15:29:21 Pacific
OS: Windows XP Professional
CPU/Ram: 2.39Ghz/512 Mb
Comment:

I have a file written in Fortran with the extension *.f and I want to build it into an *.exe file for the operation in the Windows environment (i.e. WinXP). What FREE compiler do I need if any? Any step by step instructions? Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: borelli34
Date: August 18, 2003 at 17:06:30 Pacific
Reply:

This link leads to a site with a free eveluation copy of a fortran for windows compiler (win32 not win64). It requires you to submit a request and then wait for them to send the download instructions within 24 hours and then within 2 days they will also send an activation key. 3 day wait but it should do what you need it to.

borelli34


0

Response Number 2
Name: egkenny
Date: August 18, 2003 at 17:25:56 Pacific
Reply:

Open Source Watcom / OpenWatcom Fortran Compiler
http://www.openwatcom.org/


0

Response Number 3
Name: borelli34
Date: August 18, 2003 at 23:18:41 Pacific
Reply:

Jason,

If I had known Watcom had an open source fortran compiler for windows I would have definitely recommended it. Go with this instead of my original recommendation. Thank you egkenny!

borelli34


0

Response Number 4
Name: Jason
Date: August 19, 2003 at 13:55:02 Pacific
Reply:

I used Watcom but I am having a problem building the file. It won't create an *.exe file because there are errors: Linker returned a bad status. There are some other errors that went along with that.

I'm new to Fortran but might the fact that the extension of the file is *.f affect it? It compiles but won't create an *.exe file; instead it creates an *.err file. Are there different versions of Fortran (i.e. like C and C++)? If so, how do I build a *.f file? Thanks!


0

Response Number 5
Name: Guy
Date: August 19, 2003 at 17:50:31 Pacific
Reply:

Cygwin with gcc - does the port support Fortran as on Linux???

Check it out (www.cygwin.com).

Guy



0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: compile Fortran code for Windows

What Do I Use To Compile This With? www.computing.net/answers/programming/what-do-i-use-to-compile-this-with/1061.html

Simple C code for CPU usage www.computing.net/answers/programming/simple-c-code-for-cpu-usage-/15540.html

need code for socket prog in C++ www.computing.net/answers/programming/need-code-for-socket-prog-in-c/1224.html