This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: c++ again
- From: Bob Koninckx <bob dot koninckx at o-3s dot com>
- To: Jörn Seger <joern dot seger at udo dot edu>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sun, 18 Jul 2004 10:13:10 +0200
- Subject: Re: [ECOS] c++ again
- Organization: o-3s
- References: <200407161756.20309.joern.seger@udo.edu>
- Reply-to: bob dot koninckx at o-3s dot com
On Fri, 2004-07-16 at 17:56, Jörn Seger wrote:
> Hi,
>
> maybe my last question was a bit specific, so I would like to ask some more
> general questions here:
>
> 1) Does anyone got a c++ main program working with ecos?
Yes.
> (or: is it possible to create a c++ main file with ecos)
> Ok, I know the manual says yes, but my experinces say no
>
> 2) If c++ is available on ecos, is there a Flag, Package or whatever, that I
> need to add to a "normal" project?
No.
>
> 3) my experience is, that the trouble comes from the header files (due to some
> defines!?) and therefor headers in <whatever>/gnutools/arm-elf/include
> collide with <ownprojektpath>/ecos_install/include (especially c++ headers)
> so that strange errors about not defined function appear even when I only add
> #inlcude<iostream> into the main.cpp
>
That's your problem. C++ works, however, libstdc++ is not included with
eCos. If you need this, search the archives, a while ago there was a
post that explains how to use STLport with eCos.
Bob
>
> Any ideas?
>
> Thanks in advanced - Jörn
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss