$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-06 06:28:11
Hi Jürgen,
> On Thursday 06 November 2003 11:42, Vladimir Prus wrote:
> > Strange. Current gcc.jam has a lot of code right at the end, which is
> > supposed to add -pthread when needed. Do you have any idea why it's
> > not working?
>
> Oh. That is interesting indeed. I did not search, but simply put it at
> first place where it worked for me. Taking a look at the "right" place,
> I see that the code segment for Linux is executed. But somehow the
> CFLAGS specifier does not work. Everything works if I change CFLAGS to
> OPTIONS (see patch attached.)
> And I don't have any idea about that...
That's easy! The 'link' actions use OPTIONS variable. So when the code sets
CFLAGS variables, they are just ignored.
> Very strange.
Ineeded. I recall previous gcc.jam did not work for my mt builds, and this one
seems to work. Of course, I might have screwed up something, like using
gcc.jam which is not equal to the released one.
I'll fix the problem. Thanks for poiting out!
- Volodya