Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost Binaries for MinGW

Tags:

c++

mingw

boost

Are there precompiled Boost binaries for MinGW? I've tried compiling them on my own and I've encountered way too much difficulty, and at this point I'm pretty sure I've broken something vital to Windows and I'm going to figure out what two months down the road. So does anybody know where I can get a precompiled boost library to use? If not, I think I'll just wait until std::thread becomes available on MinGW.

like image 571
Publius Avatar asked Mar 07 '12 02:03

Publius


1 Answers

Fedora Linux 16 have them, but compiled with GCC 4.6 (C++ libraries aren't compatible between major compiler versions, Fedora 13 had Boost for GCC 4.4, Fedora 15 has for GCC4.5):

  • DLLs for: GCC 4.6 GCC 4.5 GCC 4.4
  • Static for: GCC 4.6 GCC 4.5 GCC 4.4

A free (as in freedom) program — 7-zip — can open this RPM packages on Windows.

It is much easier to cross compile for Windows with MinGW32 on Fedora than to compile with MinGW+MSYS on Windows. Often it is as easy as ./configure --host=i686-pc-mingw32 && make if you have mingw32-* packages installed with distribution's package manager.

A list of available packages for Fedora is here — search for mingw32. There are compiled C and/or C++ libraries for technologies like SDL, Curl, GTK+ with Glib and Glade, Iconv, JPEG, Ogg-Vorbis, SQLite, ZIP, SSL, PCRE, Qt, Readline, Zlib and many more.

like image 64
Tometzky Avatar answered Sep 22 '22 20:09

Tometzky