I've been given a legacy fortan IV program that I need to compile for a legacy programming languages class and I've been instructed to use the Watcom IDE from http://www.openwatcom.org/index.php/Downloads.
My steps are as follows:
- Install the IDE to C:\Program Files\Watcom Fortan Compiler
- Create a new Project at C:\sampleProject.wpj
- Select Win32 (NT/95/Win32s) target environment
- Select Windows Executable (.exe) for Image type
- Select 'New Source' under 'Sources' menu
- Locate and successfully add C:\hilbert.for file to the project
- Select 'Make all' from the main menu bar
My build environment:
- Windows 7 x64 SP 1
- Intel Core i7-3720QM @ 2.6GHz
- 16GB RAM
Results:
cd C:\ - "Can't find a filename in 'cd C:\'"
wmake -f C:\sampleProject.mk -h -e - "Can't find a filename in 'wmake -f C:\sampleProject.mk -h -e'"
wfc386 \hilbert.for -d2 -q -dep - "Can't find a filename in wfc386 \hilbert.for -d2 -q -dep'"
Error(E14): Cannot execute (wfc386): No such file or directory
Error(E42): Last command making (C:\hilbert.obj) returned a bad status
Error(E02): Make execution terminated
Execution complete