I want to use Boost libraries with my MinGW compiler installed in my Linux Desktop, since I want to cross-compile a few programs for ms-windows.

Though I have Boost installed in my system for native compilation, but I am unable to compile it for MinGW.

Recently I have tried to compile Boost for MinGW, first by executing the following commands :-

  export CC=i586-mingw32msvc-gcc
export CXX=i586-mingw32msvc-c++
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export NM=i586-mingw32msvc-nm
export STRIP=i586-mingw32msvc-strip
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export RESCOMP=i586-mingw32msvc-windres
and then :-

    ./configure
    make

but it still produced native libraries.....

Please tell me how to achieve that, or if you have any link where I can find proper instructions to do so.

Thanks


Why delete messages? Unlimited storage is just a click away.