Changes between Initial Version and Version 1 of BoostFusion0x


Ignore:
Timestamp:
May 6, 2008, 5:24:14 PM (14 years ago)
Author:
Douglas Gregor
Comment:

Initial version of Fusion0x page

Legend:

Unmodified
Added
Removed
Modified
  • BoostFusion0x

    v1 v1  
     1= Implementing a mini Boost Fusion in C++0x =
     2
     3== Getting GCC 4.3 ==
     4
     5For Windows users: MinGW is the fastest way to get GCC 4.3.
     6
     7The quickest approach is to download MinGW-gcc-4.3-full.zip from this page and extract it into C:\.
     8
     9Or, you can use the normal MinGW installer and download the GCC 4.3 binaries separately:
     10
     11        1) Download the automated installer for MINGW, here:
     12
     13                http://sourceforge.net/project/showfiles.php?
     14group_id=2435&package_id=240780
     15
     16            When running the installer, you only need to install the 
     17"minimal" set of files.
     18
     19        2) Download the "core" and "g++" GCC 4.3.0 binaries from here:
     20
     21                http://www.tdragon.net/recentgcc/
     22
     23        3) Unzip the two files over top of your MINGW distribution, which 
     24replaces the default (ancient) compiler with GCC 4.3.
     25
     26        4) Try to compile a simple problem, e.g., "static_assert(false, "It 
     27works!");" with
     28
     29                c:\mingw\bin\g++ -std=c++0x foo.cpp
     30
     31For Mac users: MacPorts has a version of GCC 4.3, which should be 
     32installable with:
     33
     34        sudo port install gcc43
     35
     36Fink also has a version of GCC 4.3 in the unstable distribution. Once 
     37you've configured for the unstable distribution, use:
     38
     39        fink install gcc43
     40
     41For Linux users: You can build GCC 4.3 on your own (get the source at 
     42gcc.gnu.org), or perhaps be lucky enough to find a binary for your 
     43particular distribution.
     44