Posts Tagged ‘cygwin’

Usually I use Intel Fortran with MS Visual C++. Today I wanted to check, if it possible to replace Intel Fortran by g95. The goal would be to use g95 to compile a Fortran code but then use cl to link it with C/C++ code. 1) Install http://www.g95.org/downloads.shtml Self-extracting Windows x86 (version of 2010-04-28): g95-MinGW.exe. […]

It went without a problem. I have just used Make.inc/Makefile.gfortran.SEQ as Makefile.inc where I have changed the ordering to metis and then set BLAS to what was available. Interestingly enough, that by default more DLLs are used: $ cygcheck ./c_example.exe   C:\cygwin1.7\bin\cygwin1.dll     C:\WINDOWS\system32\ADVAPI32.DLL     C:\WINDOWS\system32\ntdll.dll     C:\WINDOWS\system32\KERNEL32.dll     C:\WINDOWS\system32\RPCRT4.dll     C:\WINDOWS\system32\Secur32.dll   C:\cygwin1.7\bin\cyggcc_s-1.dll   […]

Two things that I have mentioned. It seems to be impossible to use the old libraries from gcc 3. Then I get “access denied” in Cygwin and double-click in Explorer says that this is not a Win32 application. To this end, I have found the next message on the cygwin list http://sourceware.org/ml/cygwin/2010-04/msg00779.html Second, -mno-cygwin is […]

I have finally decided to install Cygwin 1.7. The main goal is to try gcc 4 and gfortran. There were no major changes in the installation process http://matrixprogramming.com/2008/03/installcygwin This version of Cygwin is installed by default in a new directory (c:\cygwin1.7), so it can coexist with the previous version. The only small problem was to […]