This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: POSIX problems during ARM simulations


On Fri, 2003-09-19 at 14:56, Chip Boling wrote:
> I have been having some troubles with getting twothreads.c running when
> POSIX has been added to the list of available packages.  I am running on
> CYGWIN and have tried it under both SID and the Insight simulator with the
> same results.  When I run, all the output I see is:
> 
>    Entering twothreads' main() function
>    Beginning execution; thread data is 1
>    Beginning execution; thread data is 2
> 
> 
> If I remove the POSIX package from the application and rebuild eCos and
> twothreads, I can successfully run the example and get the expected output.
> Does anyone know what I may be doing wrong?   It seems everytime I break, I
> am sitting in idle_thread_main().
> 
> Other version numbers that may be helpful are listed below in case there is
> a known toolchain problem that I need to work around or upgrade/downgrade
> to:
> 
> 	eCos v2.0
> 	gcc-3.2-3
> 	platform -> simulating arm7PID

How did you "add POSIX"?  Have you tried building using the POSIX (or 
'net') templates directly?

Note: I just tried this on a different platform and it worked fine when
I built using either the default or net templates.  I had linking 
problems when I tried to use the posix template (which I plan to 
investigate later).

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]