Boost logo

Boost-Build :

From: Vaclav Vesely (gclbb-jamboost_at_[hidden])
Date: 2003-08-23 15:07:50

> >Vaclav Vesely wrote:
> >
> >> gcc-Archive-action expects that "ar" is int the PATH. Shouldn't it use
> the
> >> GCC_BIN_DIRECTORY in the same way as gcc-C++-action does?
> >
> >I agree to the general intent but I don't like the patch.
> I don't agree, and for a very simple reason: "ar" is _not_ part of GCC. It
> is part of the binaray utilities of the operating system. That is, it's
> commonly a part of binutils (GNU). And for that reason should always be in
> the PATH. If you have special need to use a different ar (cross-compiling)
> you'll have a special set of PATHs in a special shell anyway.

But "ar" is part of Cygwin and MinGW. And mingw-Archive-action uses
MINGW_BIN_DIRECTORY. Maybe gcc-tools could detect, that cygwin is used and
use GCC_BIN_DIRECTORY only in that case?



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