Re: egcs package + need help
Philip Blundell <philb@gnu.org> writes:
> >$ g++ helloworld.c -lpthread
> >/usr/lib/gcc-lib/arm-linux/egcs-2.91.60/libstdc++.so: undefined reference to `
> >exception virtual table'
> >collect2: ld returned 1 exit status
> >
> >A bit of an improvement, I guess.
>
> Mmm. I still haven't managed to work out why you get that extra
> undefined reference. (It doesn't happen for me; adding -lpthread
> does give me a working executable.)
I can't even figure out where that symbol is coming from. I can't see
an "exception virtual table" symbol in
/usr/lib/gcc-lib/arm-linux/egcs-2.91.60/libstdc++.so.
I also grepped the binutils source for "exception virtual table", and
came up empty. It's not in the helloworld.o file either.
Cheers,
- Jim
Reply to: