delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/09/14:00:01

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=yZbsd+qp1WMz+sFZ2qrhWrnxHW2nPj4ked/BSoVNoym
l0t9IXmnoBaRA7TSwTG8IPNBeD+2CT42MgAX+IYvpXhPfQgDPq1fltvr5XYEAklt
uOVSQzpIB3JT2rFfC8L2iefGlSQDji/n9iTuguViF+xhZyzxt+an9jLVaBN3WAnc
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=DVuiWJ1dkA8zGFuCFphWeYpOv3Y=; b=UBsUQuQ47BU5+O8hY
GDA+fS56kiMqRYH95+xbbYGp1Lc3ZnBXzeMFimzfPHMCrBrMvAekfRB7FgRdwc6E
s7TfAovi+4jKxz0b8Tb48XJHW7lH7cuufGgEsTuff4iinsLY52n5K3hT7xpxJrjk
2DxOeqdjaE2wMMvEJ4/X8vkW7Y=
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=3.8 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,GARBLED_BODY,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <5487469D.8080001@cygwin.com>
Date: Tue, 09 Dec 2014 12:59:41 -0600
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Question about using MinGW GCC on Cygwin
References: <20141209024824 DOT GA81841 AT cs DOT nctu DOT edu DOT tw>
In-Reply-To: <20141209024824.GA81841@cs.nctu.edu.tw>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2014-12-08 20:48, 陳韋任 (Wei-Ren Chen) wrote:
>    I am trying to build gdbserver [1] on cygwin with mingw-gcc, since
> I want to build native windows executable and cygwin-gcc doesn't
> support "-mno-cygwin" any more. Here is how I do the config,
>
> $ cd gdb-7.8.1/gdb/gdbserver
> $ CC=i686-pc-mingw32-gcc ./configure

Besides Corinna's point to use mingw64-i686-* instead of mingw-*, this 
is not how cross-compiling works.  You should run './configure 
--host=i686-w64-mingw32' instead.

--
Yaakov


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