On 28/08/11 14:47, Terje Slettebø wrote:
Hi Lee.
Thanks. I've put a complete, working example here, just run the
makefile: http://home.broadpark.no/~terjesl/Simple.zip
Uncomment the indicated line, to see it failing.
I'm using GCC 4.1.2.
I tried your example with version 4.6 (I don't currently have a 4.1.2
build, as I do most of my development on 4.6) and that also failed with
the same error. I think this is because you are linking with gcc rather
than g++, I changed LINK in the makefile to g++ and the link succeeded.
When linking C++, it is recommended that you use the g++ driver to
ensure the correct libraries (in this case libstdc++) are linked in.
By the way: Excellent job you guys have done for GCC for RISC OS!
Thanks :-)
Regards,
Terje
P.S. Is it possible to include (small) attachments in postings to the list?
Yes, I think so, looking through the list of past posting, I see that I
have received attachments before.
Lee.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK