This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: g++ and stdlibc++ problems linking when using strstream
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] g++ and stdlibc++ problems linking when using strstream
- From: "Rosimildo daSilva" <rosimildo at hotmail dot com>
- Date: Mon, 04 Dec 2000 20:10:41 -0600
>From: AshCan@aol.com
>To: <ecos-discuss@sources.redhat.com>
>Subject: [ECOS] g++ and stdlibc++ problems linking when using strstream
>Date: Mon, 04 Dec 2000 19:47:17 EST
>
>I am having problems linking in any libraries. I have
>rebuilt the arm-elf tool chain to get stdlibc++
>libraries.
>
>my code is as simple as:
>
>#include <strstream>
>
>// function
>
>void func(args)
>{
>
>// ....
>
>strstream strStream;
>strStream << "hello world" << '\n' << '\0';
>
>This compiles OK, but the linker reports the following
>errors indicating a problem since ecos does not
>support unix standard facilities.
>
>Here are my error messages. I know this is not specifically
>an ecos issue, but may help someone else in the future
>trying to use stdlibc++ in ecos.
>
>thank you
In a short answer, you can NOT do that.
Ecos does not support:
+ C++ exceptions
+ rtti
+ IO Stream
+ STL
Ecos only has the bare minimal C++ support( classes & templates ).
Rosimildo.
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com