[wplug] Installation directories

mdanish at andrew.cmu.edu mdanish at andrew.cmu.edu
Wed Aug 8 16:26:21 EDT 2001


I've heard that Redhat distributed a broken version of gcc with 7,
but gcc-3.0-only may not be the route to go... I've yet to hear of
a person successfully building a kernel using gcc3 on i386 at least.

Perhaps getting egcs 2.91 for critical applications may be advisable.

/usr/local is the autoconf default, the rationale for which may be
to stay out of package managers' way... they supposedly should not
touch /usr/local (don't know about RPMs...)

PATH is set in /etc/profile, and in .bash_profile, which are
executed for login-shells.

You can add to the PATH in your .bash_profile using:
export PATH=$PATH:/new/directory

On Wed, Aug 08, 2001 at 09:01:55AM -0400, Weber, Larry A wrote:
> 
> I heard at the GUM there might be problems with the gcc (Ver. 2.96) that is
> provided with RedHat 7.1.  So this week I decided to update to gcc 3.0.  I
> went through the configure - make - make install process and everything went
> well.  However the default installation directory is /usr/local/bin while
> the original RedHat provided gcc is in /usr/bin.  I noticed that many of the
> apps I have installed default to the /usr/local directory.  Is this some
> sort of Linux standard?
> 
> Now I have two versions of gcc.  Any ideas on how to cleanly remove the
> 2.96, and can I move the 3.0 rev.?
> 
> I would consider blowing away 2.96 and changing my path to search /usr/local
> first.  When I echo $PATH I find that several directories are repeated.  I
> have checked the bashrc file but cannot find anything there that sets PATH.
> Does anyone know where PATH is being set?
> 
> -laweber
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug

-- 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Matthew Danish                         email: mdanish at andrew.cmu.edu ;;
;; OpenPGP public key available from:        'finger mrd at db.debian.org' ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



More information about the wplug mailing list