| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Александр Петросян (PAF) 29.01.2007 23:30
он перестанет компоноваться статически.AC_ARG_WITH(dynamic-stdcpp, [ --with-dynamic-stdcpp link libstdc++ dynamically
by default, libstdc++ is linked statically],[
AC_MSG_WARN(libstdc++ will be linked dynamically: this is probably incompatible with other platforms)
# this is for apache, it's linked with gcc and need to know
# and it would not harm linking with c++ toolchain
CPP_LIBS="-lstdc++"
],[
CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
])