From owner-freebsd-questions Mon Dec 6 11:21:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 9281315603 for ; Mon, 6 Dec 1999 11:20:04 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 6888 invoked from network); 6 Dec 1999 18:19:44 -0000 Received: from userbf26.uk.uudial.com (HELO marder-1.) (62.188.142.47) by smtp.dial.pipex.com with SMTP; 6 Dec 1999 18:19:44 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id SAA01034; Mon, 6 Dec 1999 18:17:28 GMT (envelope-from mark) Date: Mon, 6 Dec 1999 18:17:28 +0000 From: Mark Ovens To: Peter Schwenk Cc: freebsd-questions@freebsd.org Subject: Re: building kernel: compile/link errors Message-ID: <19991206181728.C319@marder-1> References: <58655.944490412@axl.noc.iafrica.com> <384BC8D1.E270B04E@math.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <384BC8D1.E270B04E@math.udel.edu> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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