Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 1999 18:17:28 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Peter Schwenk <schwenk@math.udel.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: building kernel: compile/link errors
Message-ID:  <19991206181728.C319@marder-1>
In-Reply-To: <384BC8D1.E270B04E@math.udel.edu>
References:  <58655.944490412@axl.noc.iafrica.com> <384BC8D1.E270B04E@math.udel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 06, 1999 at 09:31:45AM -0500, Peter Schwenk wrote:
> Just curious...
> 
> Why would installing the egcs package hose your ability to compile
> the kernel? Or, more precisely, why was the package constructed such
> that it would hose one's ability to compile the kernel?
> 

Well I've got egcs installed and it doesn't hose the standard
compiler. I can still build kernels, and the world, with no problems.

The message in the +DESC file is a little mis-leading:

	Beware: This port installs new versions of "gcc", "g++", "c++"
	and so forth into the "${PREFIX}/bin" directory. Mind your
	PATHs if you don't want to use this compiler by default.

		 - John Polstra <jdp@polstra.com>

As you can see, it installs it as ``eg++ and egcc'':

marder-1# ls -l `which cc gcc g++ c++ egcc eg++`
-r-xr-xr-x  3 root  wheel   4712 Sep 30 00:48 /usr/bin/c++
-r-xr-xr-x  2 root  wheel  49680 Sep 30 00:47 /usr/bin/cc
-r-xr-xr-x  3 root  wheel   4712 Sep 30 00:48 /usr/bin/g++
-r-xr-xr-x  2 root  wheel  49680 Sep 30 00:47 /usr/bin/gcc
-rwxr-xr-x  1 root  wheel  71144 May 30  1999 /usr/local/bin/eg++
-rwxr-xr-x  2 root  wheel  69832 May 30  1999 /usr/local/bin/egcc
marder-1#

> Sheldon Hearn wrote:
> 
> > On Fri, 03 Dec 1999 15:23:44 EST, "Ryan P. McCann" wrote:
> >
> > > I've installed the egcs gcc compiler. It appears to have
> > > installed files into /usr/include, /usr/lib, etc. Does that mean
> > > that I'm going to have extreme difficulty building my custom
> > > kernel?
> >
> > Almost certainly, yes.  Re-install the bin distribution. :-)
> >
> > Ciao,
> > Sheldon.
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> --
> PETER SCHWENK                                    |  UNIX System Administrator
> Department of Mathematical Sciences              |  University of Delaware
> schwenk@math.udel.edu                            |  (302)831-0437 <-NEW!!!
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
PERL has been described as "the duct tape of the Internet"
and "the Unix Swiss Army chainsaw"
				- Computer Shopper 12/99
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991206181728.C319>