From: Patrick Begou <Patrick.Begou@univ-grenoble-alpes.fr>
To: gcc-help@gcc.gnu.org
Subject: Re: two gccs
Date: Sun, 17 Oct 2021 10:58:12 +0200 [thread overview]
Message-ID: <db3b305a-641e-ab88-28f9-be52f0703853@univ-grenoble-alpes.fr> (raw)
In-Reply-To: <60e030ff-3eb7-6e35-777f-64e29e84bf4b@gmail.com>
Le 17/10/2021 à 04:16, Bill Cunningham via Gcc-help a écrit :
> I am partially complete with a build of gcc-11.2.0. The thing is
> that I need the system to recognize the gcc driver I am calling on. I
> will also be working on two glibcs, but first thing first.
>
> There is the system gcc, and the test gcc. Of course I can only
> get the system gcc to work. Can the $PATH variable be changed to
> access the test gcc, which btw, is not fully complete? Or can sym
> links be used in a very skillful manner. I have read both these ways
> can, somehow, be used. But I would think gcc runtime switches would
> work. The system is considering these two gccs as different as their
> triplets are different.
>
>
To uses several flavor of a same software, have a look at the
environment module. On my cluster It allows users to select gcc6, gcc9
or gcc10 flavor easily in production, setting PATH,
LD_LIBRARY_PATH,....etc. with "module load" / "module unload" commands.
Patrick
next prev parent reply other threads:[~2021-10-17 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-17 2:16 Bill Cunningham
2021-10-17 4:27 ` Dan Kegel
2021-10-17 8:58 ` Patrick Begou [this message]
2021-10-17 14:44 ` Dan Kegel
2021-10-17 15:57 ` Patrick Begou
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=db3b305a-641e-ab88-28f9-be52f0703853@univ-grenoble-alpes.fr \
--to=patrick.begou@univ-grenoble-alpes.fr \
--cc=gcc-help@gcc.gnu.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).