[ECOS] Issue with starting application on eCos

José Mendes jdpmendes@gmail.com
Tue Jun 23 14:54:00 GMT 2009


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



More information about the Ecos-discuss mailing list