Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-26 10:30:33


"David Daeschler" <daveregs_at_[hidden]> writes:

> Thank you for your reply. It looks like the tests all pass if I run them by
> using bjam and building them in their respective directories. However, if I
> compile the minimal.cpp file outside of the boost build environment (move
> the file somewhere else and build using make) the test fails.
>
> I think I may be missing required compiler defines when I compile my test
> program, but I can't figure out what these may be.
>
> As an example, I wrote a simple test program that currently fails under my
> configuration.

Try using

  bjam -a -odump.txt ...whatever-you-normally-pass-to-bjam...

and then looking at dump.txt to see what options are being passed to
the compiler. Then you can use them in your Makefile.

HTH,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk