This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing multiple versions of GCC


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]