X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0	tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RDNS_DYNAMIC,TVD_RCVD_IP,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30467813.post@talk.nabble.com>
Date: Wed, 15 Dec 2010 12:50:53 -0800 (PST)
From: gviewer <marlonmin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: mingw-targeted cross-compiler question
In-Reply-To: <AANLkTi==cVmy4Z=Ya26Et=xVNE4NRDr9ouEHXcBuE24x@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <30467239.post@talk.nabble.com> <AANLkTi==cVmy4Z=Ya26Et=xVNE4NRDr9ouEHXcBuE24x@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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


My cygwin may already install that package, then how to modify the flag in
Makefile to compile.



NightStrike wrote:
> 
> On Wed, Dec 15, 2010 at 2:41 PM, gviewer <marlonmin@gmail.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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/mingw-targeted-cross-compiler-question-tp30467239p30467813.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

