delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=ql6Ywn3iBYTwJ3C4gIHcZ8kmtOU8YFfYBolNg272XJual7jmPenN1 | |
UNXFMXPhn/jzOReYjMdtwr7GfrkhshdxAlBhQpLFVcwt6VdLDXGCSQXcrucOnf2T | |
awZGALqWb977RUotIZU0BvEdZsGZc8kMPm0N/q83T8meWXfhbkZ2RQ= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=IM1+8kZ/hBAxlWSlPNmNnMFxClg=; b=vuWi2K/WqCGXYuBBzuoAUvUXTk/o | |
nmIz+U8oRiOhr6htd4T6rN5Hp7zBxSrb6VMy7wR2M4WwY46URflWgmcISdVu0cNl | |
TpTHgXIrYZO3XqvE1n/36g2SX3V/Z+fG/m5X04fWHoi7cMHlTdD/wiR49uuIqlAq | |
BcP2jn3nZU4ash4= | |
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=-0.6 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,GARBLED_BODY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 9 Dec 2014 11:58:22 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Question about using MinGW GCC on Cygwin |
Message-ID: | <20141209105822.GG3810@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20141209024824 DOT GA81841 AT cs DOT nctu DOT edu DOT tw> |
MIME-Version: | 1.0 |
In-Reply-To: | <20141209024824.GA81841@cs.nctu.edu.tw> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--qq/nmn35hA65zZ5G Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 9 10:48, =E9=99=B3=E9=9F=8B=E4=BB=BB (Wei-Ren Chen) wrote: > Hi All, >=20 > 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, >=20 > $ cd gdb-7.8.1/gdb/gdbserver > $ CC=3Di686-pc-mingw32-gcc ./configure >=20 > After `make`, I get the error message below, >=20 > -------- > i686-pc-mingw32-gcc -g -O2 -I. -I. -I./../common -I./../regformats -I.= /.. -I./../../include -I./../gnulib/import > -Ibuild-gnulib-gdbserver/import -Wall -Wdeclaration-after-statement -Wpoi= nter-arith -Wformat-nonliteral -Wno-char-subscripts -Wempty-body > -DGDBSERVER -c -o remote-utils.o -MT remote-utils.o -MMD -MP -MF .deps/re= mote-utils.Tpo remote-utils.c > remote-utils.c: In function 'handle_accept_event': > remote-utils.c:161:22: error: storage size of 'sockaddr' isn't known > -------- >=20 > It seems that mingw-gcc fails to find struct sockaddr due to the > incorrect include search path. What am I missing here, or should > I fall back to use MingGW instead? You should try to use the mingw64-i686 cross compiler instead. Mingw32 is a dead duck. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --qq/nmn35hA65zZ5G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUhtXNAAoJEPU2Bp2uRE+g9W4P/1hcLT95eO05QXs4S7ygdumZ hTcArO2DN9VpNnFV9F4EcimkBUouWwvwc59zj/K5ZqygjmA8CjzIHOuSJYAP6cs+ O7XrFrEimlej1ed/LNPOpjxQOzFJzmZAiv3ciPAmiaZybc+nS3wlDnhPPXO0i5cd Cy8tqb06j8wqccpd2KzBlsRInmgmBzZR5kexwSMOgiekApZhXOszCT1JDUbvQnHh YDMNoIGsmwLfcv9/jZek8uBrO8uuQ2Std7/dIzJJISJCm62a+AdDaBdxePwXgHn9 BvLK9sRbFvTjaCsCQAPrCAu6TgjBsTsU3g7MyXJhaof+EF6/bJqhpy/eBfIouEjc gjegaDOopme6uwLmhhm0KMWc+6yIortQCIuEnq+Fo1q+fm1y67i7AWKqQ56/U5D4 xDXi0AXxzMK5vRMrxNlJ/ICjsRuP6U1MJfdci8t6OoPQmv8aZMWjGIQeqtdAcvvK 07aO7t9tJndd6Ztu9hZE9U9QOdVhGbK5174LDaVd5hX4cuz85Vn+iILcSkJHC7+T qZMRX/RmMm49QChPVfabhc/y3MjuSuyIAPrNNHDWah20mF5oH8HfhtwPWMuk62Hw VgBcvMDRld5uumFVvvIS4rR4bP/LrEkbF8tg0WFLmymfeyEA3SFgdq7r6lSFzkCX +HeTb39TAM+9HouG94mT =8x5P -----END PGP SIGNATURE----- --qq/nmn35hA65zZ5G--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |