From: Maarten B. <sou...@ds...> - 2008-05-17 13:46:47
|
You need to recompile the library, esp. printf_large.c with -DUSE_FLOAT=1, not your own code. One option is to only recompile printf_large.c and explicitly link it. > Hi, > > I have tried some Google magic and read related webpages; still it's not > clear to me if SDCC support floating point variables for DS89C450 . > In my code I try to use sprintf() and atof(), both compiles fine. Still > when I run it, I get 'NO FLOAT' messages. I even tried -DUSE_FLOAT=1 for > compiling my code. What do I miss? How can I turn on floating point > variable handling in SDCC for DS89C450? > > Thanks for any pointers, > Laszlo/GCS > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |