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-gccand then :-
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