[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: [Boost-build] context library of boost: compiling for windows 32 on ubuntu 64
From: Jack Kumba <kjack2151 () gmail ! com>
Date: 2017-01-27 17:29:38
Message-ID: CA+yGs32JBFu4QV92X=4WTEOaYEqVy-OcEXEoAcEdnem+_sGbxA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello,
I want to compile libboost_context.a for windows 32 on my ubuntu 64.
for that, I specify the following in my user-config.jam file
using gcc : : "i686-w64-mingw32-g++" ;
and then, I run the following:
b2 --with-context toolset=gcc target-os=windows variant=release link=static
address-model=32 binary-format=pe architecture=x86
this gives me the following error:
libs/context/src/unsupported.cpp:7:2: error: #error "platform not supported"
#error "platform not supported"
^
"i686-w64-mingw32-g++" -ftemplate-depth-128 -O3 -finline-functions
-Wno-inline -Wall -march=i686 -mthreads -m32 -DBOOST_ALL_NO_LIB=1
-DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -I"." -c -o
"bin.v2/libs/context/build/gcc-mingw-5.3.1/release/binary-format-pe/build-no/link-static/target-os-windows/threading-multi/unsupported.o"
"libs/context/src/unsupported.cpp"
...failed gcc.compile.c++
bin.v2/libs/context/build/gcc-mingw-5.3.1/release/binary-format-pe/build-no/link-static/target-os-windows/threading-multi/unsupported.o...
full message is posted here: https://thepasteb.in/p/y8hzcR93o3XO7t2
It seems like the context library of boost is not supported to compile for
windows on linux?
Is it the case?
Thanks,
Aja
[Attachment #5 (text/html)]
<div dir="ltr"><div>Hello,<br><br>I want to compile libboost_context.a for windows 32 \
on my ubuntu 64.<br><br></div>for that, I specify the following in my user-config.jam \
file<br>using gcc : : "i686-w64-mingw32-g++" ;<br><div><div><br>and then, I \
run the following:<br>b2 --with-context toolset=gcc target-os=windows variant=release \
link=static address-model=32 binary-format=pe architecture=x86<br><br></div><div>this \
gives me the following error:<br><br>libs/context/src/unsupported.cpp:7:2: error: \
#error "platform not supported"<br> #error "platform not \
supported"<br> ^<br><br> "i686-w64-mingw32-g++" \
-ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -march=i686 -mthreads \
-m32 -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG \
-I"." -c -o \
"bin.v2/libs/context/build/gcc-mingw-5.3.1/release/binary-format-pe/build-no/link-static/target-os-windows/threading-multi/unsupported.o" \
"libs/context/src/unsupported.cpp"<br><br>...failed gcc.compile.c++ \
bin.v2/libs/context/build/gcc-mingw-5.3.1/release/binary-format-pe/build-no/link-static/target-os-windows/threading-multi/unsupported.o...<br><br></div><div>full \
message is posted here: <a \
href="https://thepasteb.in/p/y8hzcR93o3XO7t2">https://thepasteb.in/p/y8hzcR93o3XO7t2</a><br><br></div><div>It \
seems like the context library of boost is not supported to compile for windows on \
linux?<br></div><div>Is it the \
case?<br><br></div><div>Thanks,<br></div><div>Aja<br></div></div></div>
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic