Problem with compilation due to another copy of mingw on my computer
Alexander L
out_of_orbit@rambler.ru
Mon Jun 22 12:06:00 GMT 2015
Greetings all,
I'm new to gfortran compiler, and have a problem.
I've installed gfortran compiler and when I compile a Fortran source file with a command like
gfortran D:\f90\test.f90 -o D:\f90\test.exe ,
I receive error message:
E:\Haskell Platform\2014.2.0.0\mingw\bin/ld.exe: unrecognized option '-plugin'
E:\Haskell Platform\2014.2.0.0\mingw\bin/ld.exe: use the --help option for usage
information
collect2.exe: error: ld returned 1 exit status
I have Haskell platform on disc E. If I temporarily change Haskell platform's folder name, my file compiles without errors. But when I run the executable file, I receive error message that file "libgcc_s_dw2-1.dll" is not found. This file is both in gfortran's directory and in Haskell's. Is there any way to solve this problem?
Thanks in advance.
--------------------------
Alexander
More information about the Fortran
mailing list