Fortran on FreeDOS

Why bother? I cannot say, but it works pretty seamlessly.

Install the package:

C:\> FDNPKG INSTALL WATCOMF

Go to the folder:

C:\> CD DEVEL\WATCOMF

Add it to the path and create the relevant environment variables by running the pre-existing batch file (OpenWatcomSETENVironment):

C:\DEVEL\WATCOMF\> OWSETENV.BAT
Go to the examples:

C:\DEVEL\WATCOMF\> CD SAMPLES\GOODIES

Compile one:

C:\DEVEL\WATCOMF\> WFC BINDATA.FOR

Link it:

C:\DEVEL\WATCOMF\> WFL BINDATA.OBJ

Run it:

C:\DEVEL\WATCOMF\> BINDATA.EXE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

OK!

Good old F77.

f77

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.