Have you got an explication ? -----Original Message----- From: ecos-discuss-ow...@ecos.sourceware.org [mailto:ecos-discuss-ow...@ecos.sourceware.org] On Behalf Of José Mendes Sent: Tuesday, June 23, 2009 4:54 PM To: eCos Discussion Subject: [ECOS] Issue with starting application on eCos
Hello all, I am trying to start an application on ecos where I am required to use the posix interface, more specifically, pthreads. This forces me to set the "startup context for main()" as "Invoked Elsewhere", essentially enabling the CYGSEM_LIBC_STARTUP_MAIN_OTHER macro. This options specifies: With this option selected, main() must be invoked by a separate package, or by the user. My question is, exactly where should I invoke the main() from? I could not find anything in the documentation, and eCos is not passing control to my main... Thanks, Jose -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss