Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-04-08 05:37:03


Currently all of the toolsets in bjam.v2 link the application using the
C++ compiler driver (e.g. g++) to link executables. This forces the
resulting exe to depend on the C++ runtime library (e.g. libstdc++.so.5).

However if bjam.v2 wants to support a range of languages, would'nt it be
better to link using the linker directly and linking with the runtime
libraries that come with the compilers used to transform the source
files into object files?

This way it would be possible to create an executable that is compiled
from sources written in C that is not linked with the C++ runtime lib
(and thus install it on a machine where this runtime lib is not present).

toon

 


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