Documentation on -mno-cygwin Accuracy

Tim Prince n8tm@aol.com
Tue Feb 7 19:51:00 GMT 2012


On 2/6/2012 2:29 PM, Charles D. Russell wrote:

> i686-w64-mingw32-gfortran.exe hello.f -o hello
>
> cdr@dell03 ~/mingtest
> $ ./hello
> /home/cdr/mingtest/hello.exe: error while loading shared libraries:
> libgfortran-
> 3.dll: cannot open shared object file: No such file or directory
>

The cygwin distribution of mingw puts the support dlls in their own 
directories.  You must act yourself to get them on PATH.  This is a 
consequence of their not being cygwin compilers and giving you a mongrel 
combination of cygwin and Windows setup.  However, cygwin provides 
useful tools like find and export:
export PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/:$PATH


-- 
Tim Prince

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list