I've built EGCS 1.0.2 prerelease from CVS for powerpc-unknown-linux-gnulibc1.
I'm having trouble with C++ linking as follows:
g++ -O -DBIG_ENDIAN -Wall -o synth test.o -lm
/usr/local/egcs/lib/libstdc++.so: undefined reference to
`clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_templat
e2b1i03Rep'
/usr/local/egcs/lib/libstdc++.so: undefined reference to `basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >::replace(unsigned
int, unsigned int, char const *, unsigned int)'
/usr/local/egcs/lib/libstdc++.so: undefined reference to `basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >::nilRep'
/usr/local/egcs/lib/libstdc++.so: undefined reference to
`__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template
2b1i03RepPv'
Any ideas? How might I fix this?
------------------------------------------------------------------------
Gary Thomas |
The Open Group / Research Institute | "Fine wine is a necessity of
2 Avenue de Vignate | life for me"
38610 Gieres - FRANCE |
+33 4 76 63 48 74 | Thomas Jefferson
email: g.thomas@opengroup.org |
< http://www.opengroup.org/~gdt > |
... opinions expressed here are mine |
and no one else would claim them! |
------------------------------------------------------------------------