2013/1/17 WANG Siyuan <wangsiyuanb...@gmail.com>:
> 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!

The non-system gcc ends up in /usr/local/bin
Edit your PATH accordingly.
And don't compile the base system with the non-system compiler.

-- 
May the most significant bit of your life be positive.

Reply via email to