fermi:/tmp anthony$ g++-3.3 foo.cpp fermi:/tmp anthony$ echo $? 0 fermi:/tmp anthony$ g++-4.0 foo.cpp foo.cpp:1:20: error: iostream: No such file or directory foo.cpp: In function ‘int main()’: foo.cpp:4: error: ‘cout’ is not a member of ‘std’
fermi:/tmp anthony$ cat foo.cpp #include <iostream> int main() { std::cout << "foo\n"; return 0; } fermi:/tmp anthony$ locate iostream /usr/include/gcc/darwin/3.3/c++/backward/iostream.h /usr/include/gcc/darwin/3.3/c++/iostream /usr/include/php/Zend/zend_istdiostream.h Well, that's weird. How can a C++ compiler come without the C++ library... Any idea how I pulled that off? Sort of stopped my attempt to change over from 10.4-transitional to 10.4. Anyway, I'm downloading a xcode image to upgrade to 2.3 anyway, guess I'll try and figure out how I got half of a C++ compiler tomorrow after that download is done. _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel