genode/base/lib/mk/toolchain_stdcxx.mk
Norman Feske 9651974448 Add stdcxx-4.6.1 to libports, fix #339
This patch adds libstdc++ to libports. With the previous version of the
stdcxx library, the build system used the C++ standard library that
comes with the compiler. This mechanism was prone to inconsistencies of
types defined in the header files used at compile time of the tool chain
and the types provided by our libc. By building the C++ standard library
as part of the Genode build process, such inconsistencies cannot happen
anymore.

Note that the patch changes the meaning of the 'stdcxx' library for
users that happened to rely on 'stdcxx' for hybrid Linux/Genode
applications. For such uses, the original mechanism is still available,
in the renamed form of 'toolchain_stdcxx'.
2012-09-04 12:37:56 +02:00

8 lines
327 B
Makefile

#
# This is a pseudo library for letting programs use stdc++ headers by adding
# 'stdcxx' to the 'LIBS' declaration. The actual support for incorporating
# the C++ standard library resides in 'lib/import/import-stdcxx.mk'. This
# file merely exists to resolve the build dependency to the 'stdcxx' library
# description file.
#