Date: Mon, 10 Apr 2006 10:43:51 -0400 From: "Jim Stapleton" <stapleton.41@gmail.com> To: freebsd-questions@freebsd.org Subject: newbie question on upgrading GCC Message-ID: <80f4f2b20604100743t7d64053en84728f5c7e10f627@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I did a "make install clean" in the lang/gcc40/ directory to get a newer version of GCC, and it seems happy, so the next thing I did was I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard links to the /usr/local/bin/gcc-freebsd-4.0, /usr/local/bin/g++-freebsd-4.0, etc. binaries. Now when I try to make things, I get a lot of errors and most compilation f= ails. I backed up the original binaries (gcc -> gcc-original), and things seem to be fixed, and compiles work. What should I do? Also, the ports install does not make a "cc-freebsd-4.0" binary, so I'm leary of replacing it with a hard link to the gcc-freebsd-4.0 biary, although when I run "cc --version", it tells me that it is gcc 3.4.x, which is the default gcc install. Thanks, -Jim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20604100743t7d64053en84728f5c7e10f627>