ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Bergman Andrey <vkni@yandex.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] gcc headers and libs location
Date: Sun, 18 Aug 2013 10:01:04 +0400
Message-ID: <16041376805664@web12e.yandex.ru> (raw)

Други, здравствуйте!

Скажите пожалуйста, есть ли сейчас механизм альтернатив, позволяющий "переключать" системные С++ные заголовочные файлы, принадлежащие разным версиям gcc?

Я попробовал на днях запустить clang из одноимённого пакета. И оказалось, что clang'у нужны заголовочные файлы и библиотеки GCC. В то же время, разные версии GCC пихают их в совершенно разные каталоги. В результате получается, что clang эти библиотеки упорно не находит.

Возможно, разумным средством против этого безобразия была бы пара символьных ссылок, скажем /usr/include/gcc/c++ и /usr/lib64/gcc, к которым и привязать clang?

Андрей.


             reply	other threads:[~2013-08-18  6:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18  6:01 Bergman Andrey [this message]
2013-08-18  8:57 ` Dmitry V. Levin
2013-08-18 14:33   ` Bergman Andrey
2013-08-19  9:49     ` Gleb Fotengauer-Malinovskiy
2013-08-19 14:46       ` Bergman Andrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16041376805664@web12e.yandex.ru \
    --to=vkni@yandex.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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