On Freitag 14 Mai 2010, you wrote: > Am Freitag, den 14.05.2010, 05:18 +0200 schrieb Groepaz: > > if the float stuff would be a normal library, then i would agree... but > > float support is a core functionality of the compiler, which is usually > > expected to work under all circumstances (just like any other language > > feature). [...] > > Not when going 8-bit. yes it is, always. > Look at gcc-avr, fp is only compiled in when used. > And then you can make a compiler switch/directive to select what you > need, for example #pragma systemfloat vs #pragma libfloat, where > libfloat would be the failsafe default. > And if -wall is used the compiler should emmit a warning when float is > used but the pragma is missing. a) please forget both gcc-avr and sdcc (and keill c) when comparing such things. really :) b) the point isnt about seperate libraries that only will be linked when needed and/or wanted. every decent embedded toolchain will let you do that somehow, ofcourse. the point is that IF float support is enabled, then it should work under all circumstances, and not be dependend on some ROM. IF the float support depends on some ROM, then it must be completely optional, and a drop in replacement that does not depend on ROM must exist. -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Schwanzvergleich in molekularer Struktur des Universums begruendet <Manx> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri May 14 20:43:11 2010
This archive was generated by hypermail 2.1.8 : 2010-05-14 20:43:13 CEST