Implementing a mini Boost Fusion in C++0x

Getting GCC 4.3

For Windows users: MinGW is the fastest way to get GCC 4.3.

The quickest approach is to download MinGW-gcc-4.3-full.zip from this page and extract it into C:\.

Or, you can use the normal MinGW installer and download the GCC 4.3 binaries separately:

1) Download the automated installer for MINGW, here:

http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780

When running the installer, you only need to install the "minimal" set of files.

2) Download the "core" and "g++" GCC 4.3.0 binaries from here:

http://www.tdragon.net/recentgcc/

3) Unzip the two files over top of your MINGW distribution, which replaces the default (ancient) compiler with GCC 4.3.

4) Try to compile a simple program, e.g., "static_assert(false, "It works!");" with

c:\mingw\bin\g++ -std=c++0x foo.cpp

For Mac users: MacPorts? has a version of GCC 4.3, which should be installable with:

sudo port install gcc43

Fink also has a version of GCC 4.3 in the unstable distribution. Once you've configured for the unstable distribution, use:

fink install gcc43

For Linux users: You can build GCC 4.3 on your own (get the source at gcc.gnu.org), or perhaps be lucky enough to find a binary for your particular distribution.

Last modified 9 years ago Last modified on May 6, 2008 5:31:54 PM

Attachments (2)

Download all attachments as: .zip