Topic: New SF User - Can't Even Get "Hello World" to Work !!
Hi,
Sorry to be so dumb, but I have downloaded and installed the SF software and kind of read all the documentation that comes with it, but I still can't get a one-line "Hello World!" program to compile sucessfully.
The Build Status comes back as:
Generating Makefile... Okay
==============================================================================
Compiling TestFile.f08
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Error(E42): Last command making (build\TestFile.o) returned a bad status
Error(E02): Make execution terminated
* Failed *
The contents of the makefile are:
#
# Automagically generated by Approximatrix Simply Fortran 2.14
#
FC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gfortran.exe"
CC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gcc.exe"
AR="C:\Program Files\Simply Fortran 2\mingw-w64\bin\ar.exe"
WRC="C:\PROGRA~1\SIMPLY~1\MINGW-~1\bin\windres.exe"
RM=rm -f
IDIR=
# -I error: Directory C:\Program Files\Simply Fortran 2\mingw-w64\include\ does not exist
# -I error: Directory C:\Documents and Settings\Administrator\Local Settings\Application Data\\sfpm\32\include does not exist
LDIR=-L"C:/Program Files/Simply Fortran 2/mingw-w64/lib/"
# -L error: Directory C:\Documents and Settings\Administrator\Local Settings\Application Data\\sfpm\32\lib does not exist
OPTFLAGS= -g
SPECIALFLAGS=-m32 $(IDIR)
RCFLAGS=-O coff -F pe-i386
PRJ_FFLAGS=
PRJ_CFLAGS=
PRJ_LFLAGS=
FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -Jmodules
CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)
"build\TestFile.o": "TestFile.f08"
@echo Compiling TestFile.f08
@$(FC) -c -o "build\TestFile.o" $(FFLAGS) "TestFile.f08"
clean: .SYMBOLIC
@echo Deleting build\TestFile.o and related files
@$(RM) "build\TestFile.o"
@echo Deleting TestTarget.exe
@$(RM) "TestTarget.exe"
"TestTarget.exe": "build\TestFile.o"
@echo Generating TestTarget.exe
@$(FC) -o "TestTarget.exe" -static -m32 "build\TestFile.o" $(LDIR) $(PRJ_LFLAGS)
all: "TestTarget.exe" .SYMBOLIC
Would really, really appreciate it if someone out there is able to point out to me what I am doing wrong ?
Thanks
Lionel