[ECOS] Writing C++ applications

Christoph Csebits christoph.csebits@frequentis.com
Wed Dec 12 07:22:00 GMT 2001


After working some time porting eCos to my
platform (PowerPC), i am movin some layers up:

i am not sure about writing C++ apps in eCos.

Which compiler should be used for the build tree
to generate the install/lib file (target.ld)?
(gcc vs. g++, where to change, now it is built
with powerpc-eabi-gcc)

I have a gcc compiled build tree with a g++ compiled
and linked hello.c application.

The cyg_user_start (in hello.c) is not linked
into the application, instead i have the empty
function from packages/infra/current/src/userstart.cxx.

I read the docs, but there is only information
about the compiler/linker flags to use when compiling C++.
Searching the archive for "C++" does not work.

thanks, regards christoph

More information about the Ecos-discuss mailing list