Installing multiple versions of GCC

Andrew Haley aph@redhat.com
Fri Sep 7 13:07:00 GMT 2012


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.



More information about the Gcc-help mailing list