This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Installing multiple versions of GCC
- From: Andrew Haley <aph at redhat dot com>
- To: Georg-Johann Lay <gjl at gcc dot gnu dot org>
- Cc: tprince at computer dot org, gcc-help at gcc dot gnu dot org
- Date: Fri, 07 Sep 2012 14:07:36 +0100
- Subject: Re: Installing multiple versions of GCC
- References: <CAMPTgK2J47qt5zuxh2POdQLM9OXM4EkVBg2vqVuYo88ZpDYPzg@mail.gmail.com> <CAH6eHdQaK1WukCucbcj2oULQPTEhRxSa6QH69k_yimsBjvwYtA@mail.gmail.com> <CAMPTgK01zUeUEhc64XvjQmf_eyr_Xo-a=Z2sjCBRfbjZnE10iw@mail.gmail.com> <503D06C0.7070009@aol.com> <5049DE9B.9050901@gcc.gnu.org>
On 09/07/2012 12:46 PM, Georg-Johann Lay wrote:
> Tim Prince wrote:
>> niXman wrote:
>>> Jonathan Wakely wrote:
>>>> The easiest way is to just put them in separate paths, i.e. with
>>>> different --prefix options to configure.
>>> In this case, to run the program, I must specify LD_LIBRARY_PATH?
>>
>> yes, set that and PATH.
>
> Is LD_LIBRARY_PATH also needed if the compiler is configured with
> --disable-shared and in-tree build of gmp/mpfr/mpc?
Yes. --disable-shared refers to the target libraries.
Andrew.