Boost logo

Boost Users :

Subject: Re: [Boost-users] bootstrap.sh questions (compiling v1.39)
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-20 09:05:02


Raymond Wan wrote:

>
> Hi all,
>
> I'm hadn't been following the development of Boost's installation
> process and just went from 1.38 to 1.39 and realized the steps that I
> had written down no longer work. :-) I'm glad that the process was
> being looked into, but could someone help me with a couple of things?
>
> First, I use mpi and use to edit $BOOST/user-config.jam and put "using
> mpi ;" at the end to get it to compile. I didn't do this and I got a
> similar warning as before even though I ran:
>
> ./bootstrap.sh --with-libraries=graph,mpi,program_options,serialization
>
> Does "mpi" in it have no effect? After it finished, it seems the other
> 3 were made, but not mpi. Should I add "using mpi ;" still? [In
> $BOOST, I now notice there is no user-config.jam but a project-config.jam.]

You should edit either user-config.jam placed in your home directory, or
edit project-config.jam that is in boost root directory.

> And the other thing I use to do was to edit the Makefile by adding
> "--layout=system" so that the generated libraries do not indicate the
> compiler version. (I did read the discussion earlier this month and I'm
> now wondering if it's bad practice to do this? I would like
> libboost_program_options-mt.so instead of
> libboost_program_options-gcc43-mt.so .)
>
> How do I do this with bootstrap.sh/bjam?

At present, you have to pass --layout=system to bjam invocation. Specifying
the value of --layout option inside project-config.jam is not presently
possible; planned for 1.40.

- 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