jkr...@current9s :~ > echo "int main(){}" > 1.c jkr...@current9s :~ > /opt/csw/gcc4/bin/g++ 1.c jkr...@current9s :~ > ./a.out ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or directory Killed
now, this is some local problem. My complaint to autoconf though, is that in this situation, autoconf blithely produced: config.h: #define SIZEOF_INT 0 #define SIZEOF_LONG 0 I think it should notice that and error out loudly/early. This is part of my gcc 4.5.1 configure -enable-build-with-cxx adventure.. If autoconf were really clever, I'd like it to recognize this situation and fallback to /usr/bin/CC, which works. But ok either way. I'm setting CXX to it now. Also, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46334 is maybe an autoconf bug. If set CXX=/usr/bin/CC and I don't set CC, then CC gets gcc flags and warns like crazy. Or it might be stuff specific in gcc's Makefile... - Jay