compiler construction - Cannot execute wfc386 no such file or directory - Watcom Fortran IDE -


i've been given legacy fortan iv program need compile legacy programming languages class , i've been instructed use watcom ide http://www.openwatcom.org/index.php/downloads.

my steps follows:

  1. install ide c:\program files\watcom fortan compiler
  2. create new project @ c:\sampleproject.wpj
  3. select win32 (nt/95/win32s) target environment
  4. select windows executable (.exe) image type
  5. select 'new source' under 'sources' menu
  6. locate , add c:\hilbert.for file project
  7. select 'make all' main menu bar

my build environment:

  1. windows 7 x64 sp 1
  2. intel core i7-3720qm @ 2.6ghz
  3. 16gb ram

results:

cd c:\ - "can't find filename in 'cd c:\'" wmake -f c:\sampleproject.mk -h -e - "can't find filename in 'wmake -f c:\sampleproject.mk -h -e'" wfc386 \hilbert.for -d2 -q -dep - "can't find 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 bad status error(e02): make execution terminated execution complete 

i've run 3 problems far.

  1. i downloaded wrong ide. if can't find wfc386 file didn't download right version. had downloaded c/c++ compiler mistake.
  2. installing path spaces in unsupported. hooray old software.
  3. storing project path spaces in unsupported. hooray again old software.

the solution:

  1. move install c:\watcom
  2. move projects c:\projects or c:\watcom\projects
  3. update local environment variables old values new correct path based on moved watcom installation

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -