[wplug] Installation directories

mdanish at andrew.cmu.edu mdanish at andrew.cmu.edu
Wed Aug 8 22:42:21 EDT 2001


On Wed, Aug 08, 2001 at 09:39:50PM -0400, DAVID G MATTHEWS wrote:
> I've also heard about problems with gcc3 as well as 2.96, especially if
> you're trying to build something written in C++ rather than C.  2.95 has
> done good by me.
> -dgm
> 
Actually that's not what I meant by broken.  The g++3 compiler is
correct in it's error messages, according to ANSI C++.  Whatever code
is probably guilty of not using namespaces correctly, try
'using namespace std;' at the beginning of offending source files.

(Not that I advocate usage of the C++ language in the first place; I don't.
It's just that I've had to deal with a number of C++ programs that were 
broken in this fashion.  Asking a person to read the ANSI C++ standard 
is a worse punishment than one would want to bestow on anyone.)

What I meant by broken was "outputting invalid or dangerous machine
code".  Dangerous being "dangerous to one's filesystem" for example.
So far I've heard that gcc3 outputs kernels that boot, but generally
panic somewhere along the way.  Whereas the kernel that Redhat
comes with is known to sometimes output erroneous code in the
ext2 drivers.


> 
> On Wed, 8 Aug 2001 mdanish at andrew.cmu.edu wrote:
> 
> > 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' ;;
> > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> > 
> 
> _______________________________________________
> 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