[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List of powerpc owners



the new egcc seems to compile simple c programs, but it doesn't
compile c++. this is what i get when i try to compile this program:

#include <iostream.h>

int main(int argc, char** argv)
{
  cout << "hello world" << endl;
}

/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `exception type_info function'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__cp_push_exception'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__rtti_user'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__rtti_si'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `terminate(void)'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `exception type_info node'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__builtin_vec_new'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__builtin_vec_delete'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `exception virtual table'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__rtti_class'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__builtin_delete'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__builtin_new'
/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.56/libstdc++.so: undefined reference to `__eh_alloc'
collect2: ld returned 1 exit status

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


Reply to: