From: Arjen M. <arj...@wl...> - 2008-09-09 06:27:23
|
Werner Smekal wrote: > Hi Arjen, > > it must be some misconfiguration of MSYS and your MinGW version(s), > since I was able to compile and run your program but from within a > Windows CLI without problems. > Hi Werner, yes, there definitely is some kind of interaction: MSYS (or g95) defines an environment variable LIBRARY_PATH. When I unset that, the g95 linker (!) complains it can not find particular libraries. The odd thing is that the path to the new GNU compiler installation appears first in the PATH variable. So, apparently in my set-up, the compiler is gfortran (taken from the correct installation directory), but the next step, i.e. the linker (ld) comes from the MSYS environment. I have not sorted out yet why, but the simplest solution will be to take the MSYS path out of the PATH variable. I will continue this investigation Regards, Arjen |