|
Boost Users : |
Subject: Re: [Boost-users] How do I build with an alternate compiler location?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-23 11:54:56
Eric Brown wrote:
> I'm trying to build on freebsd 4. (Those are my production machines,
> so I'm stuck.)
>
> The default install is gcc 2.95 and freebsd's old ports tree contains
> patches to build boost's libraries. However, when I try to include
> boost include files, it inevitably complains about any number of
> templates gcc can't grok.
>
> I suppose I can maybe build the libs with gcc 2.95 and my code with
> gcc 3.4.6, but I'd rather build boost with 3.4.6 too. Plus, the
> patches are for boost 1.32 and I'd rather use a later version of boost.
>
> However, gcc34 installs into /usr/local/bin/gcc34 and a bunch of
> include files I'd usually specify -I directives in my CXXFLAGS in my
> makefile. I'm just not clear how to set these overrides for bjam. I've
> looked at the bjam docs,
Did you look at bjam docs, or Boost.Build docs? The latter, in
give a syntax you can use in user-config.jam to configure gcc with an alternative location.
Does this answer your question?
- Volodya
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