Boost logo

Boost Users :

From: Mikko Vainio (mivainio_at_[hidden])
Date: 2008-04-21 13:05:52


Hi James,

I managed to cross-compile static release builds of serialization,
filesystem, system, date_time, and program_options from boost 1.35.0
with i386-mingw32 gcc 4.3.0 (http://mingw-cross.sourceforge.net/) under
Fedora 8 using a three-step procedure:
- create a user-config.jam file with content:
      using gcc : : i386-mingw32-gcc : ;
- run bjam (assuming you have compiled it already):
        bjam --user-config=user-config.jam --toolset=gcc link=static release ...
- manually run i386-mingw32-ranlib on the generated libraries

There might be a better way to do this, but at least the above worked
for me.

/Mikko

James Choa wrote:
> Hello everyone,
> Is there anyway for me to create a cross compilation version of the
> boost libraries? I have already compiled the linux version of the boost
> libraries and now I would like to compile a windows version of it. I'm
> using Fedora 8 with i386-mingw32 as my cross compiler (gcc 4.2.1). Any
> help would be greatly appreciated :)
>
> --James Choa
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
:: Mikko Vainio <mikko.vainio_at_[hidden]> tel + 358 2 215 4600
:: Structural Bioinformatics Laboratory
:: Department of Biochemistry and Pharmacy
:: Abo Akademi University, Tykistokatu 6A, FI-20520 Turku Finland

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net