X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-SourceIP: 84.75.161.221 Date: Mon, 14 Feb 2011 22:01:48 +0100 From: Fabiano Sidler To: cygwin AT cygwin DOT com Subject: Re: building a cross-compiler for Linux/OSX Message-ID: <20110214210148.GA94066@loewenpard.local> Mail-Followup-To: cygwin AT cygwin DOT com References: <20110207095038 DOT GA26629 AT loewenpard DOT local> <1297335927 DOT 752 DOT 15 DOT camel AT YAAKOV04> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <1297335927.752.15.camel@YAAKOV04> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sorry for replying so late. Thus spoke Yaakov (Cygwin/X): > On Mon, 2011-02-07 at 10:50 +0100, Fabiano Sidler wrote: > > I'm trying to build a cross-compiler under Linux and MacOSX using this > > script: http://sourceware.org/ml/cygwin/2010-08/txt00010.txt > > I get the same error on Linux and MacOSX after the make of line 340: >=20 > Cygwin normally builds with -Werror but there are a few warnings > generated by GCC 4.5 which haven't been fixed yet in the code. Remove > -Werror from $top_builddir/i686-pc-cygwin/winsup/cygwin/Makefile and the > rest of the build should precede without any further difficulties. Not without any further difficulties, but at least with a different error: =3D=3D=3D snip =3D=3D=3D [...] /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/utils/mingw i686-pc-cygwin-gcc = -c -D __CRTDLL__ -U__MSVCRT__ -g -O2 -Wno-error -I/opt/devel/cygwin/src/cygwin-1.= 7.6-1 /winsup/mingw/include -I/opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/mingw/.= ./inc lude -nostdinc -iwithprefixbefore include -I /opt/devel/cygwin/src/cygwin-1= .7.6- 1/winsup/mingw/../w32api/include /opt/devel/cygwin/src/cygwin-1.7.6-1/winsu= p/min gw/crt1.c -o crt1.o /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/utils/mingw: couldn't find i686= -pc-m ingw32 directory make[3]: *** [crt1.o] Error 1 make[3]: Leaving directory `/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/w= insup /mingw' make[2]: *** [mingw] Error 1 make[2]: Leaving directory `/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/w= insup ' make[1]: *** [all-target-winsup] Error 2 make[1]: Leaving directory `/opt/devel/cygwin/build/cygwin' make: *** [all] Error 2 =3D=3D=3D snap =3D=3D=3D Again, the same error on Linux and OSX. Thank you for helping, btw! ;) Greetings, Fabiano --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk1ZmDwACgkQzQlicGIK7i9vKwCffifbrgFOYRSjicHTmu8PNOLU hX4AniKIZ6Euo5nv+M4fpuyp70E0S0nP =QwKy -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--