This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building a cross-compiler for Linux/OSX

Hi folks!

I'm trying to build a cross-compiler under Linux and MacOSX using this
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
cc1plus: warnings being treated as errors
/opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygwin/ In member
 function ?int fhandler_dev_floppy::get_drive_info(hd_geometry*)?:
/opt/devel/cygwin/src/cygwin-1.7.6-1/winsup/cygwin/ 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
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?

F. Sidler

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]