|
Boost : |
From: Douglas Gregor (dgregor_at_[hidden])
Date: 2008-05-06 01:18:15
For those interested in attending the "Implementing a mini
Boost.Fusion using C++0x" workshop, we suggest that you install a
compiler capable of handling some of the C++0x features discussed
today, especially decltype, variadic templates, and rvalue
references. GCC 4.3 is one such option.
For Windows users: MINGW is the fastest way to get GCC 4.3. Here are
the steps:
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 problem, 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.
- Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk