Boost logo

Boost-Build :

Subject: [Boost-build] Boost 1.56 Cross-compile Build FAILS using mingw on Linux with Windows Target
From: boostqa (boostqa_at_[hidden])
Date: 2014-09-08 01:26:17


Cross compiling using mingw on ubuntu 14.04.

I do:

./bootstrap.sh --without-icu
echo "using gcc : 4.9 : i686-w64-mingw32-g++ : <rc>i686-w64-mingw32-windres
<archiver>i686-w64-mingw32-ar ;" > user-config.jam
./bjam toolset=gcc target-os=windows variant=release threading=multi
threadapi=win32 --user-config=user-config.jam --without-mpi
--without-python -sNO_BZIP2=1 --layout=tagged stage

ERROR IS:

gcc.compile.asm
bin.v2/libs/context/build/gcc-mingw-4.9/release/architecture-x86/link-static/target-os-windows/threadapi-win32/threading-multi/asm/make_i386_sysv_elf_gas.o
libs/context/src/asm/make_i386_sysv_elf_gas.S: Assembler messages:
libs/context/src/asm/make_i386_sysv_elf_gas.S:23: Warning: .type pseudo-op
used outside of .def/.endef ignored.
libs/context/src/asm/make_i386_sysv_elf_gas.S:23: Error: junk at end of
line, first unrecognized character is `m'
libs/context/src/asm/make_i386_sysv_elf_gas.S:74: Warning: .size pseudo-op
used outside of .def/.endef ignored.
libs/context/src/asm/make_i386_sysv_elf_gas.S:74: Error: junk at end of
line, first unrecognized character is `m'
libs/context/src/asm/make_i386_sysv_elf_gas.S:77: Error: junk at end of
line, first unrecognized character is `-'

    "i686-w64-mingw32-g++" -x assembler-with-cpp -O3 -finline-functions
-Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DNDEBUG -I"."
-c -o
"bin.v2/libs/context/build/gcc-mingw-4.9/release/architecture-x86/link-static/target-os-windows/threadapi-win32/threading-multi/asm/make_i386_sysv_elf_gas.o"
"libs/context/src/asm/make_i386_sysv_elf_gas.S"

...failed gcc.compile.asm
bin.v2/libs/context/build/gcc-mingw-4.9/release/architecture-x86/link-static/target-os-windows/threadapi-win32/threading-multi/asm/make_i386_sysv_elf_gas.o...

Question:
What is 'junk at end of line' ?

This is very strange... I need to setup a Qt5 cross-compile environment in
linux, and need boost. Any suggestions?

--
View this message in context: http://boost.2283326.n4.nabble.com/Boost-1-56-Cross-compile-Build-FAILS-using-mingw-on-Linux-with-Windows-Target-tp4667362.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk