X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4F315473.8070106@gmail.com>
Date: Tue, 07 Feb 2012 17:42:27 +0100
From: marco atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Documentation on -mno-cygwin Accuracy
References: <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A@mail.gmail.com> <1328569526.8848.3.camel@YAAKOV04> <jgrik0$6k3$1@dough.gmane.org>
In-Reply-To: <jgrik0$6k3$1@dough.gmane.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2/7/2012 5:13 PM, carolus wrote:
> On 2/6/2012 5:05 PM, Yaakov (Cygwin/X) wrote:
>
>> The -mno-cygwin flag is still handled by gcc3, but that is deprecated
>> and may be removed at any time. The officially supported way to
>> build such apps is to use the appropriate mingw or mingw64
>> cross-compiler.
>>
> 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

Regards
Marco


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

