delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/12/23:17:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:reply-to:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=gZfcmcQQJTPbnzHBW7sZ2ATpO8nfwM
hww1XR99fPP9xVKgcNAu10nxaUMU0/6OB//oSQYgMyJTRRTeIwA4+MBTZfAjPbT8
+WbtY8UrYtWe1DNzcjIYeTgDvCuu0BfLMGpewohYW7NwKl/hfz1dXMfOahQmsTnL
jr0X6kxGjW1Ak=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:reply-to:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=LAvEAMi5JF+ls1w2tyMcpuwA/A4=; b=sdFF
7raxAUgBxU52Q4QuFGR9WOq7+Y/aPkxmKw2lp7OVgtwSZZaI3ezpBYc7kVz9vmCE
9t9VeTIe5wEjqlTWZTtO/paWbWUCXhSlUT5H8cZk9PxyCAiYIZiAwLpdqS0FPqks
jg9ZdDan0DrOD9I0dnn5FVSjaR2nRFUh/mj8euc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:en-US, H*u:en-US, H*UA:1.8.1.19, H*u:2.0.0.19
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
Subject: Re: g++ -mno-cygwin flag not recognized
Date: Fri, 12 May 2017 22:17:26 -0500
Lines: 16
Message-ID: <of5ts5$38u$1@blaine.gmane.org>
References: <CAA+u5pjehMD_dK6aZXyYWuf3rBA9tbLE6oqXrbtU9vxsHzaG_g AT mail DOT gmail DOT com>
Reply-To: Do not reply <rene DOT berber AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <CAA+u5pjehMD_dK6aZXyYWuf3rBA9tbLE6oqXrbtU9vxsHzaG_g@mail.gmail.com>
X-IsSubscribed: yes

On 5/12/2017 10:03 PM, Allan C. wrote:

> I am trying to build a win32 project with gcc 5.4 with the flag
> -mno-cygwin but the flag is not recognized. Is there an approach I
> could release an exe without bundling cygwin's dll?

That option has been deprecated for many years.

What you have to do is install one of the cross-compilers (32-bit, or
64-bit, or both), and cross compile the project.

Cross compiling can be as easy as defining CC as the cross-compiler, and
as hard as having to build all the dependencies and make sure all the
right, cross-compiles libraries, are the only ones used.
-- 
R. Berber


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