i'm trying to compile Datcom More Info Here, i succeeded in doing this on Mac OSX with gfortran. To do the same on W7 i downloaded MinGW and did the same things that i did on Mac but i get
Program received signal SIGSEGV: Segmentation fault - invalid memory reference
Backtrace for this error:
#0 6f6a5456
#1 6f69321f
#2 004011e9
when i'm starting the program...
$ datcom.exe
Enter the input file name:
EX1.INP
-fbounds-check- if you are accessing an array incorrectly this will tell you at runtime which array and which index are causing the problem. - robinceAt line 11 of NMTEST.F90Fortran Runtime error: Index '2' of dimension 1 of array 'kol' above upper bound of 1In MacOSX anyway it works correctly :/ - rdbisme-fugly-assumedwhich should fix this but I am not sure recent versions support it. What version are you using on Mac and what version with mingw? - robince-std=option... maybe try-std=legacyfirst, or-std=f95- robince