On 17 January 2013 16:29, WANG Siyuan <[email protected]> wrote: > Hi, > > I install gcc 4.7 on openbsd using pkg_add. after installation, I use > 'gcc -v' to check, I found it is also gcc 4.2 ! > > how to upgrade gcc 4.2 to gcc 4.7 on openbsd? thank you! > > > -- > Yours sincerely, > WANG Siyuan
Hi, packages/ports gcc is renamed to "egcc" that it won't be mixed up to system's gcc. Therefore, /usr/local/bin/ecpp is one that you want. And no, you DON'T want to replace system's gcc. -- Sincerely, Ville Valkonen

