Chris Donnan : Programming – Brooklyn Style
software, trading, family, fun
GCC 4.6.1 on Mac Lion
Posted C++, mac on Saturday, November 19th, 2011.
Posted C++, mac on Saturday, November 19th, 2011.
Good instructions here, but too much klunking around….
On Lion, will need to download:
- GCC 4.2 to compile with – lion uses llvm so you need to compile 4.6 with 4.2
- the new GCC itself here ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.1/select gcc-4.6.1.tar.gz
- a few infrastructure libraries from here (ftp://gcc.gnu.org/pub/gcc/infrastructure/) – get mpc-0.8.1.tar.gz and mpfr-2.4.2.tar.bz2
- GMP itself needs a more recent version 5.0.2 (one of the features is 64bit under darwin)
- from the above article comments, be sure to update all your configures to include ABI=64 something like:
../configure --prefix=$HOME/my_gcc ABI=64../configure --prefix=$HOME/my_gcc --with-gmp=$HOME/my_gcc ABI=64../configure --prefix=$HOME/my_gcc --with-gmp=$HOME/my_gcc --with-mpfr=$HOME/my_gcc ABI=64../configure --prefix=$HOME/my_gcc --enable-checking=release --with-gmp=$HOME/my_gcc --with-mpfr=$HOME/my_gcc --with-mpc=$HOME/my_gcc --program-prefix=my- ABI=64 |
Responses are currently closed, but you can trackback from your own site.
FastFlow
Posted C++ on Saturday, November 19th, 2011.
Posted C++ on Saturday, November 19th, 2011.
FastFlow (???) is a parallel programming framework for multi-core platforms based upon non-blocking lock-free/fence-free synchronization mechanisms.
Ooh, aah. This is lovely. Look out disruptor, there is nothing new under the sun apparently.
Very, very nice.A work colleague pointed FastFlow out to me yesterday and I have spent the morning reading/ playing. Big fan so far.
Responses are currently closed, but you can trackback from your own site.
