В чем разница между crtbegin.o, crtbegint.o и crtbegins.o?C++

Программы на C++. Форум разработчиков
Anonymous
В чем разница между crtbegin.o, crtbegint.o и crtbegins.o?

Сообщение Anonymous »

Я пытаюсь связать непосредственно с использованием ld , чтобы изолировать проблему сборки.

Код: Выделить всё

ac-aaa.o: In function `__static_initialization_and_destruction_0':
/usr/include/c++/4.7/iostream:75: undefined reference to `__dso_handle'
ac-callback.o: In function `__static_initialization_and_destruction_0':
/usr/include/c++/4.7/iostream:75: undefined reference to `__dso_handle'
...
< /code>

Поиск __dso_handle < /code>: < /p>

$ grep __dso_handle  /usr/lib/gcc/x86_64-linux-gnu/4.7/*
Binary file /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1plus matches
Binary file /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o matches
Binary file /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o matches
Binary file /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginT.o matches
в чем разница между crtbegin.o , crtbegint.o и crtbegins.o ?

Подробнее здесь: https://stackoverflow.com/questions/221 ... rtbegins-o

Вернуться в «C++»