From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] gcc headers and libs location
Date: Sun, 18 Aug 2013 12:57:26 +0400
Message-ID: <20130818085725.GA16452@altlinux.org> (raw)
In-Reply-To: <16041376805664@web12e.yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]
On Sun, Aug 18, 2013 at 10:01:04AM +0400, Bergman Andrey wrote:
> Други, здравствуйте!
>
> Скажите пожалуйста, есть ли сейчас механизм альтернатив, позволяющий "переключать" системные С++ные заголовочные файлы, принадлежащие разным версиям gcc?
>
> Я попробовал на днях запустить clang из одноимённого пакета. И оказалось, что clang'у нужны заголовочные файлы и библиотеки GCC. В то же время, разные версии GCC пихают их в совершенно разные каталоги. В результате получается, что clang эти библиотеки упорно не находит.
>
> Возможно, разумным средством против этого безобразия была бы пара символьных ссылок, скажем /usr/include/gcc/c++ и /usr/lib64/gcc, к которым и привязать clang?
На мой взляд, если clang нуждается в файлах от gcc, то
пусть он лучше спрашивает напрямую у gcc, где они лежат.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-08-18 8:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-18 6:01 Bergman Andrey
2013-08-18 8:57 ` Dmitry V. Levin [this message]
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=20130818085725.GA16452@altlinux.org \
--to=ldv@altlinux.org \
--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