On Thu, Sep 15, 2011 at 3:01 PM, LeviaComm Networks <[email protected]> wrote: > 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, I'm interested in seeing if (1) patches have been applied to fix my template error problem (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656); and (2) the compiler/linker is using hardened settings (I know 4.2.1 is not hardened out of the box). > at least until you understand enough about the OS to fix this yourself. I don't think I have that much time. But on the good side, I can reinstall/restore the OS in about 45 minutes. Jeff

