Have you tried following.
RELEASE
./bjam variant=release
DEBUG
./bjam variant=debug
-Anand

On Wed, Mar 3, 2010 at 4:42 PM, Nicola <nvitacolonna@gmail.com> wrote:
In article <0F29A5D0-1C0E-4EAB-AE5C-1B100FCF8339@endocas.org>,
 Andrea Moglia <andrea.moglia@endocas.org> wrote:

> Hi,
>
> I tried many times to compile Boost 1.42 under OS X. However I always
> get relase mode.
>
> I inserted these commands:
>
> ./Bootstrap.sh --prefix=destination path
> ./bjam install
>
> I am looking for a way to compile Boost 1.42 in both debug and release
> mode.
> Please, could you tell me how to do that?

I'd recommend using MacPorts, unless you have strong reasons to want to
do it yourself.

sudo port install boost

does just want you want (use 'port variants boost' for some build
options).

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users