On my system (though I doubt it's system specific) some very strange things are installed when a program-prefix and program-suffix are used. Namely you get ${prefix}${prefix}${program}${suffix} for programs like c++ and g++
System: Solaris 10 Generic_118833-17 Configuration: ../gcc-4.1.1/configure \ --prefix=/pkgs/gcc/gcc-4.1.1 \ --disable-shared \ --with-gnu-as \ --with-gnu-ld \ --enable-__cxa_atexit \ --enable-checking=yes \ --enable-languages=c,c++,objc \ --program-prefix=sparc-sun-solaris2.10- \ --program-suffix=-4.1.1 Some example make output of this in action: rm -f /pkgs/gcc/gcc-4.1.1/bin/sparc-sun-solaris2.10-gcc-tmp; \ ( cd /pkgs/gcc/gcc-4.1.1/bin && \ ln sparc-sun-solaris2.10-gcc-4.1.1 sparc-sun-solaris2.10-gcc-tmp && \ mv -f sparc-sun-solaris2.10-gcc-tmp sparc-sun-solaris2.10-sparc-sun-solaris2.10-gcc-4.1.1 ); \ fi ln: cannot access sparc-sun-solaris2.10-gcc-4.1.1 make[2]: [install-driver] Error 2 (ignored) make[2]: Leaving directory `/export/home/koninkje/gcc-build/gcc' make[2]: Entering directory `/export/home/koninkje/gcc-build/intl' -- Summary: `make install` installs some strange binaries Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: phreelance_spam at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28757