From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18844 invoked by alias); 9 Feb 2011 20:09:41 -0000 Received: (qmail 18821 invoked by uid 22791); 9 Feb 2011 20:09:29 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from fep17.mx.upcmail.net (HELO fep17.mx.upcmail.net) (62.179.121.37) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Feb 2011 20:09:23 +0000 Received: from edge01.upcmail.net ([192.168.13.236]) by viefep17-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110209200919.PYMY11401.viefep17-int.chello.at@edge01.upcmail.net> for ; Wed, 9 Feb 2011 21:09:19 +0100 Received: from loewenpard.local ([84.75.161.221]) by edge01.upcmail.net with edge id 5w9J1g0024muWvG01w9Kub; Wed, 09 Feb 2011 21:09:19 +0100 X-SourceIP: 84.75.161.221 Message-ID: <4D52F46D.9000509@swissonline.ch> Date: Wed, 09 Feb 2011 20:09:00 -0000 From: Fabiano Sidler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: building a cross-compiler for Linux/OSX References: <20110207095038.GA26629@loewenpard.local> In-Reply-To: <20110207095038.GA26629@loewenpard.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-02/txt/msg00257.txt.bz2 Hello? Noone building cross-compilers for cygwin? Thus spake Fabiano Sidler, 11/02/07 10:50: > Hi folks! > > 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: > === snip === > [...] > i686-pc-cygwin-c++ -L/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/winsup -L/opt > /devel/cygwin/build/cygwin/i686-pc-cygwin/winsup/cygwin -L/opt/devel/cygwin/buil > d/cygwin/i686-pc-cygwin/winsup/w32api/lib -isystem /opt/devel/cygwin/src/cygwin- > 1.7.6-1/winsup/include -isystem /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygw > in/include -isystem /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/w32api/include - > B/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/newlib/ -isystem /opt/devel/cygwi > n/build/cygwin/i686-pc-cygwin/newlib/targ-include -isystem /opt/devel/cygwin/src > /cygwin-1.7.6-1/newlib/libc/include -c -nostdinc++ -DHAVE_CONFIG_H -g -O2 - > Wno-error -MMD -fomit-frame-pointer -Werror -fmerge-constants -ftracer -mno-use- > libstdc-wrappers -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbu > iltin -fmessage-length=0 -I. -I/opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cyg > win -I/opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/w32api/include -I/opt/devel/c > ygwin/src/cygwin-1.7.6-1/winsup/cygwin/config/i386 -I/opt/devel/cygwin/lib/gcc/i > 686-pc-cygwin/4.5.0/include -fno-rtti -fno-exceptions -o ./fhandler_floppy.o /op > t/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygwin/fhandler_floppy.cc > cc1plus: warnings being treated as errors > /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygwin/fhandler_floppy.cc: In member > function ?int fhandler_dev_floppy::get_drive_info(hd_geometry*)?: > /opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygwin/fhandler_floppy.cc:59:37: err > or: dereferencing type-punned pointer will break strict-aliasing rules > make[3]: *** [fhandler_floppy.o] Error 1 > make[3]: Leaving directory `/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/winsup > /cygwin' > make[2]: *** [cygwin] Error 1 > make[2]: Leaving directory `/opt/devel/cygwin/build/cygwin/i686-pc-cygwin/winsup > ' > make[1]: *** [all-target-winsup] Error 2 > make[1]: Leaving directory `/opt/devel/cygwin/build/cygwin' > make: *** [all] Error 2 > === snap === > > Anyone able to run the script to completion or a different (and working) way > to build a cross-compiler for cygwin on Linux and OSX? > > Greetings, > F. Sidler -- 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