AMDG On 09/12/2012 06:50 AM, Usman Dastgeer wrote:
I am trying to install boost for the first time as part of rose compiler installation. Here is what I did on a Linux machine:
downloaded, extracted boost 1.47.0 ./bootstrap.sh --prefix=/home/usmda/rose/ boost/install2 --with-python-version=2.7 ./bjam install -sGCC=gcc-4.4 -sGXX=g++-4.4 --prefix=/home/usmda/rose/boost/install2
Default gcc version is 4.7.1 [/usr/bin/g(cc|++)] on this machine so I specify the gcc 4.4 [/usr/bin/g(cc|++)-4.4] for 2 reasons: 1) I need to use gcc 4.4 to compile rose compiler as well. 2) I read that gcc 4.7.1 disables boost threading support so that's why I want to use gcc 4.4 but specifying -sGCC and -sGXX didn't help as still I guess it uses gcc-4.7.1 (as shown in log below).* *
Why would you expect this to do anything? After you run bootstrap.sh, there should be a project-config.jam. Edit it to change the line that say using gcc ; to using gcc : : g++-4.4 ; In Christ, Steven Watanabe