Hi, I *will* code the time functions and contribute them, because I need them: -asctime -difftime -probably also time_t / struct tm conversions
How should I proceed? Write the in the lib/src/pic16 directory, then update the makefiles? (then send a patch, ok) Can I copy code from the file I indicated in my previous mail? Do we need special performant code for asctime & al? what about sprintf? (ok, I can/will probably) use basic string copy operations here - do we have a working itoa? ) Regards Sebastien On Mon, Jan 11, 2010 at 11:35 AM, Philipp Klaus Krause <p...@spth.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sébastien Lorquet schrieb: > > > Why do we need device specific versions? > > Device-specific versions of library functions exist for two reasons: > > - - Compiler bugs: Some ports are not yet able to compile the library > function, so it's not used for that port (typically disabled by an > #ifdef), a device-specific version may be provided instead. This is > typically done for new ports, and goes away once the port becomes more > mature. > - - Performance: Some library functions are so important that we really > want to make them as fast as possible. Thus some ports have > device-specific implementations of the library, some of them even coded > in assembler. Again, these are sometimes removed as the port gets > better, and the sdcc-generated code approaches the hand-written asm in > quality. > > Philipp > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAktK/wUACgkQbtUV+xsoLpqRPQCfdqUT2+/DZ0kBnB7RhmLeyQG3 > 5NcAnj2ZEeYMcdtw//fUZvFLjuL0x+ST > =H56j > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user