From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19C9C138334 for ; Fri, 24 Aug 2018 16:40:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 177E3E08AD; Fri, 24 Aug 2018 16:40:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E662FE08AD for ; Fri, 24 Aug 2018 16:40:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F933335C7F for ; Fri, 24 Aug 2018 16:40:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72D1E37C for ; Fri, 24 Aug 2018 16:40:07 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1535128788.9fb81748c138eb4e0ce71af7aed9cbd400cab35a.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: README X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 9fb81748c138eb4e0ce71af7aed9cbd400cab35a X-VCS-Branch: master Date: Fri, 24 Aug 2018 16:40:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e3576320-60ca-402e-bf88-33e1f3eb1d2b X-Archives-Hash: 40d81ed8808973b2a9bd081c7070920c commit: 9fb81748c138eb4e0ce71af7aed9cbd400cab35a Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Aug 24 16:39:48 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Aug 24 16:39:48 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=9fb81748 README: document /etc/env.d/04gcc-${CTARGET} Signed-off-by: Sergei Trofimovich gentoo.org> README | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README b/README index aef9e98..e7933d8 100644 --- a/README +++ b/README @@ -41,9 +41,21 @@ Files, variables, things. Used by gcc-config to generate wrappers and 05gcc- env.d files. Used by wrapper to extract GCC_PATH and re-exec(). -- gcc env.d cross-compiler entries (provided by gcc-config) +- gcc env.d compiler entries (provided by gcc-config) - /etc/env.d/05gcc-${CTARGET} + /etc/env.d/04gcc-${CTARGET} (native) + + Populates paths for native-compilers + + PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0" + ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0" + GCC_SPECS="" + MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/man" + INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/info" + + Used by env-update to populate PATH and more (TODO: remove PATH population). + + /etc/env.d/05gcc-${CTARGET} (cross) Populates paths for cross-compilers @@ -51,6 +63,7 @@ Files, variables, things. ROOTPATH="/usr/x86_64-pc-linux-gnu/powerpc64le-unknown-linux-gnu/gcc-bin/7.3.0" Used by wrapper to extract PATH and re-exec(). + Used by env-update to populate PATH (TODO: remove PATH population). How does gcc-config work? -------------------------