Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost with custom gcc/g++
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2013-01-07 16:28:13


> ./b2 $CPPFLAGS --toolset=gcc
>
>
 FYI, note that $CPPFLAGS here depends on whether we want to build shared
libs (pic) or static libs.

For shared libs:

    export CPPFLAGS="cxxflags=-fPIC"

For static libs:

    unset CPPFLAGS



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net