Hi,

ACK.
But adding the related routines to my project lead to another problem: sprintf was not implemented as well.

And then, what's this?
http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/device/lib/time.c?revision=5507&view=markup

Why do we need device specific versions?

Regards
Sebastien

On Mon, Jan 11, 2010 at 9:57 AM, Raphael Neider <rneider@web.de> wrote:
Hi,

> the same command line in a console does not work either. This may not be
> related to mplab-sdcc.

That's right, asctime (and most other time/date related functions) are not
implemented in SDCC's libc. The "correct" way to use them is to add them
to your project and/or contribute them to sdcc.

> IIUC, the std libs should be readily available without any command line
> switch, shouldn't they?

Only as far they are implemented ...


Best regards

Raphael

------------------------------------------------------------------------------
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