compiling boost for windows 32 on ubuntu 64 machine

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling boost for windows 32 on ubuntu 64 machine

Jack Kumba
Hello,

I'm trying to compile boost for windows 32-bit on my ubuntu-64 but I'm not able to.
what I do is as follows:
- I created a file called user-config.jam in my ubuntu home directory and had put the below in it
       using gcc : : "i686-w64-mingw32-g++"

- then, i run
        ./bootstrap.sh --with-libraries=filesystem --prefix=/home/jagdish/commelec_api/installation_dirs/boost

- and then, b2 toolset=gcc target-os=windows
- finally, i see the following error messages: https://thepasteb.in/p/y8h6q5Qq1yzcO

Did someone encounter the same error messages or can tell me why I'm seeing them?

Thanks,
Kja

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: compiling boost for windows 32 on ubuntu 64 machine

Boost - Build mailing list
Hi,

Here is the content of my user-config.jam :
using gcc : : i686-w64-mingw32-g++-6.3.0 :
<archiver>i686-w64-mingw32-ar <ranlib>i686-w64-mingw32-ranlib ;

Here is my command:
./b2 --user-config=user-config.jam target-os=windows threadapi=win32
address-model=32 define=BOOST_THREAD_USE_LIB
define=BOOST_LOG_WITHOUT_EVENT_LOG install

Frédéric
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build