public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Fabiano Sidler <fabianosidler@swissonline.ch>
To: cygwin@cygwin.com
Subject: building a cross-compiler for Linux/OSX
Date: Mon, 07 Feb 2011 09:50:00 -0000	[thread overview]
Message-ID: <20110207095038.GA26629@loewenpard.local> (raw)

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

             reply	other threads:[~2011-02-07  9:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07  9:50 Fabiano Sidler [this message]
2011-02-09 20:09 ` Fabiano Sidler
2011-02-10  9:27   ` Peter John Acklam
2011-02-10 11:48     ` Yaakov (Cygwin/X)
2011-02-10 11:05 ` Yaakov (Cygwin/X)
2011-02-14 21:02   ` Fabiano Sidler
2011-02-15 12:47     ` Yaakov (Cygwin/X)
2011-02-17 12:26     ` Yaakov (Cygwin/X)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110207095038.GA26629@loewenpard.local \
    --to=fabianosidler@swissonline.ch \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).