This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FW: POSIX problems during ARM simulations
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Chip Boling <cboling at hiwaay dot net>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 19 Sep 2003 15:26:17 -0600
- Subject: Re: [ECOS] FW: POSIX problems during ARM simulations
- Organization: MLB Associates
- References: <000e01c37ef0$90089c00$6401a8c0@tdmy.com>
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