public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Doczkal <Thomas.Doczkal@socionext.com>
To: <gcc-help@gcc.gnu.org>
Subject: Re: multiple installed versions of gcc -- automatically set rpath ??
Date: Fri, 29 May 2020 13:02:44 +0200	[thread overview]
Message-ID: <f1cfd914-3fdd-2f4c-1d6f-c528290d34a2@socionext.com> (raw)
In-Reply-To: <56beea81-438e-116e-44de-68984b5867b2@legi.grenoble-inp.fr>

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

On 5/29/20 11:28 AM, Patrick Bégou wrote:
> Just load your tailored module (setting PATH, LD_LIBRARY_PATH....) to
> activate the gcc version needed and compile/execute

While setting LD_LIBRARY_PATH in modules is possible I see this with a
grain of salt. It's tricky if you load two or more modules in the same
shell.

For what it's worth we change the rpath of the dynamically linked
binaries with patchelf where possible.

Regards
Thomas


-- 
Thomas Doczkal
Snr System Engineer


Socionext Europe GmbH
pittlerstrasse 47
63225 langen, germany
tel +49-6103-3745-386
mobile +49-174-9226082
fax +49-6103-3745-122
thomas.doczkal@socionext.com
www.eu.socionext.com
www.socionext.com

Geschaeftsfuehrer/Managing Director: Toshihiko Tanaka, Dirk Weinsziehr,
Koichi Otsuki, Yutaka Yoneyama

Sitz/Seat: Langen, Hessen; Registergericht/Commercial Register:
Offenbach/Main HRB 48005


This e-mail and any attachment contains information
which is private and confidential and is intended for
the addressee only. If you are not an addressee, you
are not authorized to read, copy or use the e-mail or
any attachment. If you have received this e-mail in
error, please notify the sender by return e-mail and
then delete it.



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5154 bytes --]

  reply	other threads:[~2020-05-29 11:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  2:54 Patrick Herbst
2020-05-29  3:07 ` Dan Kegel
2020-05-29  9:28   ` Patrick Bégou
2020-05-29 11:02     ` Thomas Doczkal [this message]
2020-05-29 11:22   ` Jonathan Wakely
2020-05-29 11:33 ` Jonathan Wakely
2020-05-29 17:23   ` Jonathan Wakely

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=f1cfd914-3fdd-2f4c-1d6f-c528290d34a2@socionext.com \
    --to=thomas.doczkal@socionext.com \
    --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).