[CMake] Cannot find the libstdc++ library on MinGW/MSYS when C++ is not enabled
Nils Gladitz
nilsgladitz at gmail.com
Mon Feb 3 17:06:06 EST 2014
On 03.02.2014 23:00, Alan W. Irwin wrote:
> But what happens for case 3 when the static C++ library is
> statically linked to libstdc++?
For static libraries the linker is not invoked.
Instead an archiving tool (ar) just packages all object files together.
There is no interaction with other libraries.
> Does the static library in this case
> contain all the needed code from libstdc++?
It would not.
Nils
More information about the CMake
mailing list