In <[EMAIL PROTECTED]>, sergey dyshel <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>          http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to