Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-08-19 18:15:02

   Hi João.

> The problem is that I'm not really familiarized with the jam environment!
> I can say that -force_flat_namespace doesn't appear in any file within the
> whole boost tree.
> The variable that has this option in the darwin.jam file is USER_OPTIONS.
> But I couldn't figure out where and how this variable gets the its value!

   It seems to be getting it either from the <cflags> or the <cxxflags>
property depending on whether you're using a C or C++ compiler.

   Darwin seems to inherit flag settings from the gcc toolset which has
the following flag definitions:

> toolset.flags gcc.compile USER_OPTIONS <cflags> ;
> toolset.flags gcc.compile.c++ USER_OPTIONS <cxxflags> ;

   Perhaps that can give you a clue. Also, you can run bjam with the
--debug-building option to see the exact property set used for building
each target.

   If you can not find this in the Boost source tree perhaps it is
getting read from some environment variable. Try looking them over.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at