This is the mail archive of the
mailing list for the eCos project.
Issue with starting application on eCos
- From: José Mendes <jdpmendes at gmail dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 23 Jun 2009 16:53:52 +0200
- Subject: [ECOS] Issue with starting application on eCos
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
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...
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss