[C++-sig] OS X

David Abrahams david.abrahams at rcn.com
Thu Jun 13 15:18:04 CEST 2002


From: "Scott A. Smith" <ssmith at magnet.fsu.edu>


> The same problem occurs on OS X with -isystem, I had already
> just replaced this in the gcc-tools file. As for the __GNUG__
> I tried to do this in gcc-tools too but that caused complaints
> about it being defined twice. I know I can just set this with
> -D on the command line, I guess my question was more of
> where is this set for bjam? The same for isystem, how is bjam
> (not)figuring out what to set this as.

bjam doesn't figure out any of these settings, it just invokes g++.

As the maintainer of Boost.Build I am really uncomfortable with not knowing
why -isystem isn't working properly in some environments. It's documented
in the GCC manual, so it should work. I want to submit a bug report to the
appropriate people, or fix one of my own, but I don't have the compilation
environments where it's causing the problems. Ralf, I would really
appreciate it if you could at least generate the preprocessor output for a
file which fails to compile using both -I and -isystem, so I can diff them.

Thanks,
Dave







More information about the Cplusplus-sig mailing list