This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Printf function error
- From: John Dallaway <jld at ecoscentric dot com>
- To: Aniket S Joshi <aniketsj at myw dot ltindia dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 20 Feb 2004 12:44:25 +0000
- Subject: [ECOS] Re: Printf function error
- Organization: eCosCentric Limited
- References: <s0364561.063@EMAIL>
Hi Aniket
Aniket S Joshi wrote:
I am tring to run the example program "towthreads.c" But it is giving output as follows
Entering twothreads' cyg_user_start()
function
Beginning execution; thread data is 0
Beginning execution; thread data is 1
Thread 00000000000000000000000000000000000000..........
This is a manifestation of a code optimisation issue in GCC 3.2.1 (and
possibly other versions) targetting sh-elf. The eCosPro Developer's Kit
for SuperH targets ships with a patched toolchain to address this problem.
John Dallaway
eCosCentric Limited
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss