This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++ again


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]