[En-Nut-Discussion] Write floating data to a string

Igor Fedorchuk bel at micran.ru
Fri Oct 29 13:34:03 CEST 2004


Hi Ethernut User Chat (English),

Daniel NutOS  3.9.2 do not support floating point. Use 3.9.1

Regards Igor

29.10.2004 you wrote:

DM> Ole Reinhardt schrieb:

>>Hi,
>>
>>  
>>
>>>what is wrong ?
>>>    
>>>
>>
>>you need to link to nutcrtf.a instead of nutcrt.a. 
>>
>>Nutcrtf is the floting point version and is slightly larger than
>>nutcrt.a
>>
>>Regards,
>>
>>Ole Reinhardt
>>
>>
>>  
>>
DM> Hi, Ole

DM> I compiled the Nut/OS  with option for floating point output in

"C runtime->>>File Streams->Floating point" , but it compiles with follow error message:

DM> C:/ethernut/nut_simple/lib\libnutcrtf.a(putff.o)(.text+0x5da): In function `_putf':
DM> : undefined reference to `dtostrf'
DM> C:/ethernut/nut_simple/lib\libnutcrtf.a(putff.o)(.text+0x5ea): In function `_putf':
DM> : undefined reference to `dtostre'
DM> make.exe: *** [temp_meas.elf] Error 1

DM> Regards, 
DM> Daniel

DM> _______________________________________________
DM> En-Nut-Discussion mailing list
DM> En-Nut-Discussion at egnite.de
DM> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion





More information about the En-Nut-Discussion mailing list