On 15-Sep-11 11:40, 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.



Another example of the OS giving you enough rope to hang yourself.
Unless there is some burning need to run that version of gcc, I would recommend staying away from upgrading it, at least until you understand enough about the OS to fix this yourself.

Reply via email to