Boost logo

Boost-Build :

From: Wieger Wesselink (wieger_at_[hidden])
Date: 2003-09-02 09:05:47


I have encountered a small problem when using BBV2 on Red Hat linux
with g++. When building a statically linked executable that depends
on a library, linking goes wrong: /usr/bin/ld: cannot find -lgcc_s.

My jamfile looks like this:

project sat
: requirements <include>../boost


exe reach
: reach.cpp
: <link-runtime>static

The link command of BBV2 has the form 'g++ -s ...'. This works fine
on cygwin, but not on linux. If I replace -s by -static, it does
work on linux.

Best regards,



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