delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/15/15:36:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <30467239.post@talk.nabble.com>
References: <30467239 DOT post AT talk DOT nabble DOT com>
Date: Wed, 15 Dec 2010 15:36:27 -0500
Message-ID: <AANLkTi==cVmy4Z=Ya26Et=xVNE4NRDr9ouEHXcBuE24x@mail.gmail.com>
Subject: Re: mingw-targeted cross-compiler question
From: NightStrike <nightstrike 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

On Wed, Dec 15, 2010 at 2:41 PM, gviewer <marlonmin AT gmail DOT com> wrote:
>
> Hello, I downloaded a software and tried to compile it on cygwin, I got an
> error message:
>
> "gcc: The -mno-cygwin flag has been removed; use a mingw-targeted
> cross-compiler."
>
> I checked the Make file, it used this flag:
> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ...
>
> What should I use exactly to replace the '-mno-cygwin' flag? Thanks a lot.

You can install the windows cross compilers that are provided as
cygwin packages.  You can pick ones that target either 64-bit windows
or 32-bit 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