[ECOS] Writing C++ applications
Andreas Bürgel
ab@genologic.de
Wed Dec 12 07:59:00 GMT 2001
Christoph Csebits wrote:
>
> hi
>
> 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.
I'm developing applications with C++ for eCos and it works fine.
> 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.
Did you forget those extern "C" definition around cyg_user_start?
#ifdef __cplusplus
extern "C" {
#endif
void cyg_user_start ( void) {
...
}
#ifdef __cplusplus
}
#endif
--
-----------------------------------------------------
i.A. Andreas Bürgel GenoLogic GmbH
Software Engineer Joseph-von-Fraunhofer-Str. 13
D-44227 DORTMUND
Germany
ab@genologic.de phone +49 (0) 231/477349-0
fax +49 (0) 231/4761234
More information about the Ecos-discuss
mailing list