Re: Multiple Installs of gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joseph Felps <joe_felps@xxxxxxxxxxxxx> writes:

> Hello,
> 
> I'm having a hard time installing gcc into it's own folder.  Say if I
> wanted to install it in /usr/local/GCC.  I then added that to my PATH
> but I was having linker problems with update-alternatives.  I'm not
> really sure how to use it.  I would just like to know the best way to
> install multiple versions, so that it's easy to uninstall them.

Add /usr/local/GCC/lib to your LD_LIBRARY_PATH:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/GCC/lib

There is probably a way to reconfigure your linker to check this
    directory without using LD_LIBRARY_PATH. Under freebsd or linux
    see 'man ldconfig' On other unices you'll have to do your own
    searching. 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux