This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Issue with starting application on eCos
- From: "Heidet, Christophe" <Christophe dot Heidet at Gunnebo dot com>
- To: José Mendes <jdpmendes at gmail dot com>, "eCos Discussion" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 16 Jun 2010 15:37:42 +0200
- Subject: RE: [ECOS] Issue with starting application on eCos
- References: <980ab7e30906230753g733dd1ebq64ce1ac2a9c4ff99@mail.gmail.com>
Have you got an explication ?
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@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