delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/07/13:36:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4F315473.8070106@gmail.com>
References: <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A AT mail DOT gmail DOT com> <1328569526 DOT 8848 DOT 3 DOT camel AT YAAKOV04> <jgrik0$6k3$1 AT dough DOT gmane DOT org> <4F315473 DOT 8070106 AT gmail DOT com>
Date: Tue, 7 Feb 2012 12:35:49 -0600
Message-ID: <CAGJFqDUEF6-VotQM54wp_jn4wdG5FNi+3kaBFyUdPVo0s7QFaw@mail.gmail.com>
Subject: Re: Documentation on -mno-cygwin Accuracy
From: Quinn Wood <woodq11 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q17IaDN4013403

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019