Date: Wed, 5 Mar 2003 12:08:24 -0600 From: Mike Meyer <mwm-dated-1047319705.113051@mired.org> To: sergey dyshel <sdieselil@yahoo.com> Cc: freebsd <freebsd-questions@freebsd.org> Subject: Re: How can I completely replace gcc installed by default with new gcc-3.2? Message-ID: <15974.15640.660862.70505@guru.mired.org> In-Reply-To: <20030305132343.69337.qmail@web41207.mail.yahoo.com> References: <20030305132343.69337.qmail@web41207.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In <20030305132343.69337.qmail@web41207.mail.yahoo.com>, sergey dyshel <sdieselil@yahoo.com> typed: > Hi > > As I know, FreeBSD 4.7 installed gcc-29.5 on my system > by default (not as package but as part of base > system). When I installed gcc-3.2.1 from binary > package I noticed that it didn't overwrote lib and > include files > in /usr but instead put the in > /usr/local/lib/gcc-lib/i386..../3.2.1". > > Why? How can I force it to install gcc in normal way? You don't want to do that. It'll break building the system. The commands installed in /usr/local/bin will use the correct libraries and include files. Just use those. You can just symlink gcc32 to cc in /usr/local/bin, and make sure that /usr/local/bin is in front of /usr/bin in your path. Things that use cc will use gcc32, and everything will work pretty much like you want. If you're willing to run code on a development branch - which means it's more likely to fail in strange ways, and there'll be less help available when it does - you can upgrade to FreeBSD 5.0, which uses gcc3 in place of 2.95. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15974.15640.660862.70505>