Unix Programming - Re: Updating GCC

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2004 > Re: Updating GCC





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Updating GCC
tweak

2004-06-26, 10:10 am

Maurizio Loreti wrote:
> Nils O. Selåsdal <NOS@Utel.no> writes:
>
>
>
>
> Be warned. Since this will also remove the shared libraries, every
> executable compiled against them cannot be run
>
>
>
>
> The right way, if you want to install from the tar.gz distribution, is
> to leave in /usr/bin the old gcc, install the new one under a
> different tree, e.g. /opt/gcc340, and put in PATH first
> /opt/gcc340/bin, and in LD_LIBRARY_PATH first /opt/gcc340/lib .


I will have to do this the next time I redo my system. I installed the
new one in the same place as the old one. The good thing is that the
library path (/usr/lib) of the new one is unique to the original install.

Thanks,

Brian

P.S. Still getting used to tar based installs and uninstalls.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com