Boost logo

Boost-Build :

Subject: [Boost-build] how to link with gcc instead of g++
From: Jorge Pérez (josp.jorge_at_[hidden])
Date: 2011-10-19 03:10:28


When I compile a program which is only C (not C++) the result is an executable
depending on libstdc++ this is because the linker is invoked as g++. Is it
possible to invoke gcc as the linker? or there is a way to avoid this dependency
on libstdc++ for program written only in C?

Thanks and best regards,


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