[ECOS] Re: Printf function error

John Dallaway jld@ecoscentric.com
Fri Feb 20 12:44:00 GMT 2004


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



More information about the Ecos-discuss mailing list