ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как слинковаться с отладочными версиями C++ STL
@ 2004-06-15 12:44 Кучумов А.А.
  2004-06-15 13:29 ` Sergey Vlasov
  0 siblings, 1 reply; 2+ messages in thread
From: Кучумов А.А. @ 2004-06-15 12:44 UTC (permalink / raw)
  To: community

Доброго времени суток.

А не знает ли кто, как слинковать свою программу не с версией C++-ной
библиотеки из /usr/lib, а с версией библиотеки из /usr/lib/debug.

Ибо последняя содержит отладочную информацию, а первая - нет.

Перекопал половину info на gcc, но заветного ключика не нашел.

Или я чего-то не понимаю?

С уважением, Кучумов А.А.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Как слинковаться с отладочными версиями C++ STL
  2004-06-15 12:44 [Comm] Как слинковаться с отладочными версиями C++ STL Кучумов А.А.
@ 2004-06-15 13:29 ` Sergey Vlasov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2004-06-15 13:29 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

On Tue, Jun 15, 2004 at 04:44:20PM +0400, Кучумов А.А. wrote:
> А не знает ли кто, как слинковать свою программу не с версией C++-ной
> библиотеки из /usr/lib, а с версией библиотеки из /usr/lib/debug.
> 
> Ибо последняя содержит отладочную информацию, а первая - нет.

Собирать можно обычным образом, но при запуске программы указать
LD_LIBRARY_PATH=/usr/lib/debug; тогда будет использоваться даже
libc.so.6 оттуда.  Во многих случаях это полезно - например, при этом
gdb отображает в backtrace значения параметров для функций libc.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-15 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 12:44 [Comm] Как слинковаться с отладочными версиями C++ STL Кучумов А.А.
2004-06-15 13:29 ` Sergey Vlasov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git