I downloaded the g95 Fortran compiler. Now after it sets it environment variables, none of my C/C++ programs compile on Developer C++. I get the following Message on the compiler log:
Compiler: Default compiler
Building Makefile: "G:\Learinig C-K&R\Makefile.win"
Executing make...
make.exe -f "G:\Learinig C-K&R\Makefile.win" all
gcc.exe chap1_eg9.o -o "chap1_eg9.exe" -L"G:/Dev-Cpp/lib"
F:/g95/lib/crt2.o(.text+0x16a):crt1.c: undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status
make.exe: *** [chap1_eg9.exe] Error 1
Execution terminated
If I remove the environment variables, my programs compile with no problem. But then g95 doesn't work. Is there a way I can fix it?
The g95 FORTRAN Compiler is available here:
http://www.g95.org/Developer C++ Is available here:
http://www.bloodshed.net/dev/devcpp.html