Date: Mon, 2 Aug 2004 03:15:25 +0300 From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: "SP Network Solutions" <sales@spnets.com>, questions@freebsd.org Subject: Re: upgrading gcc-2.95 to gcc-3.3 Message-ID: <20040802031525.7ccbb8db@it.buh.tecnik93.com> In-Reply-To: <000701c4781e$cf54a700$0e01a8c0@SPWORKS> References: <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> <20040802021636.6a2f414e@it.buh.tecnik93.com> <000701c4781e$cf54a700$0e01a8c0@SPWORKS>
next in thread | previous in thread | raw e-mail | index | archive | help
[ cc'ed back questions@ ] [ top posting detected, reordering content ] On Mon, 2 Aug 2004 07:25:19 +0800 "SP Network Solutions" <sales@spnets.com> wrote: > ----- Original Message ----- > From: "Ion-Mihai Tetcu" <itetcu@apropo.ro> > To: "SP Network Solutions" <sales@spnets.com> > Cc: <freebsd-questions@freebsd.org> > Sent: Monday, August 02, 2004 7:16 AM > Subject: Re: upgrading gcc-2.95 to gcc-3.3 > > > > On Mon, 2 Aug 2004 06:45:50 +0800 > > "SP Network Solutions" <sales@spnets.com> wrote: > > > > > Dear Sirs, > > > > > > Currently my machine (FreeBSD 4.1) using gcc-2.95 which is running > > > perfectly. however, I need to upgrade it to gcc-3.3 which i've did via > > > /usr/ports/lang/gcc33 > > > > > > everything when smooth and installed. > > > > > > but when I type gcc -v it still show gcc version 2.95 > > > How do I get the new gcc-3.3 to run, what do i need to do or any > > > configuration line, comands etc to make it work > > > > `which gcc` would point you to the right direction ;-) > > Thank you for answering my question. > > 'which gcc' it point me to /usr/bin/gcc > > errr... but still cannot get gcc-3.3 to run > Sorry...I'm confuse any tips to configure it to run..? And the ports install binaries by default in ...... bingo /usr/local/bin What you which(1) tell is that /usr/bin is the first and /usr/local/bin in after it in in your shell's PATH. So try /usr/local/bin/gcc -v Note that it is not a good idea to over-write you system's gcc, as in FreeBSD there is a very tight integration between the compiler and the system. Some of the gcc ports provide a knob to install over "base" gcc and probably they are tested to work, I don't know. % /usr/bin/gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.3.3 [FreeBSD] 20031106 -- IOnut Unregistered ;) FreeBSD "user"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802031525.7ccbb8db>