Ports gcc4 is called egcc so it doesn't conflict with base gcc4 which'll stay as 4.2.1
On Thu, Sep 15, 2011 at 02:40:46PM -0400, Jeffrey Walton wrote: > Hi All, > > After installing GCC 4.2.4, I still have version 4.2.1. I've learned a > little about pkg_add, so I went hunting for the README. > > $ find / -name gcc 2>/dev/null > /usr/local/lib/gcc > /usr/local/libexec/gcc > /usr/local/include/boost/mpl/aux_/preprocessed/gcc > /usr/bin/gcc > > $ find /usr/local/lib/gcc -name README 2>/dev/null > /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/include/README > /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/install-tools/include/README > > Not much to the install-tools/README: > > This README file is copied into the directory for GCC-only header files > when fixincludes is run by the makefile for GCC. > ... > > Would anyone be able to point out my mistakes with installing GCC > 4.2.4? There is no GCC 4.2.4 executable, and I'm catching a boatload > of c++ template errors > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656). I'm also hoping > Binutils will be updated. > > Jeff