Documentation on -mno-cygwin Accuracy

Quinn Wood woodq11@gmail.com
Tue Feb 7 18:36:00 GMT 2012


On Tue, Feb 7, 2012 at 10:42 AM, marco atzeri wrote:
> On 2/7/2012 5:13 PM, carolus wrote:
>> Is there an easy procedure that is equivalent
>> to the old -mno-cygwin (suitable for a dumb engineer who is not a
>> programmer and knows nothing about cross-compilation)? -mno-cygwin was a
>> very handy way to distribute a cygwin fortran executable to non-cywin
>> users without having to include cygwin1.dll (which I think is not
>> exactly legal).
>>
> define
>  CC=i686-pc-mingw32-gcc.exe
>  FC=i686-pc-mingw32-gfortran.exe
>
> if you want to use mingw-gcc compilers.
>
> similar
>  CC=i686-w64-mingw32-gcc.exe
>  FC=i686-w64-mingw32-gfortran.exe
>
> for the mingw64-i686-gcc compilers
>
You may also have to change your code if it uses Unix features (an
application I was recently using utilized mmap, which does not come
with Windows.)

--
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