This is the mail archive of the ecos-discuss@sourceware.org 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: [Fwd: printf and floating point emulation]


On Thu, Apr 10, 2008 at 10:57:32AM -0300, Eduardo Sabaj wrote:
> I'm working with one of the pre-built toolchains for Intel x386 which  
> I've downloaded some years ago. Anyway, yesterday I downloaded this same  
> toolchain from  http://ecos.sourceware.org/getstart.html.
>
> I executed:
>
>       wget --passive-ftp  
> ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl
>              sh ecos-install.tcl
>
> Then I compiled sprintf1.c with this new environment and the result is  
> the same. The program crashes with the first line with %f format.

Humm. The only ideas i have are

1) Disassemble the code and see if it is still using the FPU.

2) Make sure your libgcc1.a was build with the same flags as eCos. This
   library from the tool chain must also not use the FPU. 

   Andrew

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


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