delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/07/15:47:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: carolus <worwor AT bellsouth DOT net>
Subject: Re: Documentation on -mno-cygwin Accuracy
Date: Tue, 07 Feb 2012 14:47:19 -0600
Lines: 37
Message-ID: <jgs2kq$epk$1@dough.gmane.org>
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>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <4F315473.8070106@gmail.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

On 2/7/2012 10:42 AM, marco atzeri wrote:
> 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
>
>
Thanks.  I also added:
FFLAGS=-static
to duplicate the behavior I used to get with -mno-cygwin.



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