From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-01-29 01:44:04
Rene Rivera wrote:
ering why the gcc toolset links with g++, even for C code.
> > At home I only need to compile C code, and so I only downloaded the
> > gcc binaries; I did not bother to download the g++ binaries. When I
> > ran bjam, it died because there was no g++.
> > It's not a big deal (I can change the toolset or download g++), but
> > was curious why the toolset was designed this way.
> Simply put because there's no way to know when we do the link if all the
> sources (.o, .so, .lib, .dll, etc) are only C.
Related to this, does anyone know exactly what effect the g++ invokation
has on GCC? Clearly it adds "stdc++" to the list of link libraries.
Googling around it seems unclear what actually changes.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk