From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] gcc-common-1.4.22-alt1 удаление select-gcc Date: Mon, 26 Mar 2018 01:31:44 +0300 Message-ID: <20180325223144.GA31526@altlinux.org> (raw) In-Reply-To: <1042261354.119.1521985495280.JavaMail.taf@metamorph.taf.ru> [-- Attachment #1: Type: text/plain, Size: 1182 bytes --] On Sun, Mar 25, 2018 at 09:44:55PM +0800, Alexei Takaseev wrote: > > Скажите, пожалуйста, в чем провинился скрипт select-gcc что его > > вынесли > > при последней пересборки gcc-common? > > > > Очень удобная вещь, когда надо локально собирать какую-нибудь > > макаронообразную > > embedd-щину, гвоздями приколоченную к определенной версии gcc. В > > системе хочется > > иметь три версии gcc (сейчас это 4.8, 6 и 7) через эту утилиту > > получалось быстро > > переключаться с одного на другой. > > Оказалось, что переключать версии gcc стало возможным через определение > системной переменной GCC_VERSION. gcc-wrapper у нас используется уже достаточно давно: * Tue Nov 26 2002 Dmitry V. Levin <ldv@altlinux> 1.2-alt1 ... - Added gcc_wrapper, added alternatives for cpp,gcc,g+,g77,gcj to use it. По сравнению с переключением альтернатив, выбор версии gcc с помощью переменной среды GCC_VERSION -- гораздо более гибкий инструмент. > Но выяснилось это через изучение исходника > gcc-wrapper, где-либо в документации этот момент не озвучен, точнее по > gcc-wrapper вообще нет никакой документации, кроме исходника. Давайте документируем. -- ldv [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2018-03-25 22:31 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-25 13:29 ` Alexei Takaseev 2018-03-25 13:44 ` Alexei Takaseev 2018-03-25 22:31 ` Dmitry V. Levin [this message]
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=20180325223144.GA31526@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