On 24/11/11 16:53, Ryan Schmidt wrote:
> Hmm yes I see. -arch flags are not compatible with the FSF GCC compilers in
> MacPorts. You could probably
>
> sudo port extract boost
>
> then
>
> cd $(port work boost)
>
> then edit tools/build/v2/tools/darwin.jam to remove those flags, then
>
> cd
>
On 23/11/2011 21:24, Ryan Schmidt wrote:
>> b) get macports to recompile boost with gcc46.
>
> It is not supported to do so, but if you would like to try it, to see if it
> solves the problem, you would:
>
> sudo port -ns upgrade --force boost configure.compiler=macports-gcc-4.6
Thanks for the
Hello,
I have installed boost and gcc46 from MacPorts. However, the following
application errors out when compiled through gcc46 (but not gcc45 or
clang or the Apple gcc).
#include
#include
#include
int main(int argc, char *argv[]) {
boost::archive::text_oarchive oa(std::cout);