[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc pat
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750 |
Date: |
Mon, 5 Sep 2005 21:24:04 +0200 |
User-agent: |
Mutt/1.4.2.1i |
As Joerg Wunsch wrote:
> > ->in stdio.h:
> > #define STDIO_SETUP(stream,buf,put,get,flags) FILE stream={buf,\
> > 0,\
> > flags,\
> > sizeof(buf),\
> > 0,\
> > put,\
> > get}
> That might basically work, yes. Seems like a good idea to me. You
> forgot the buffer for the FP stuff, but that's easy to add the same
> way.
Errm, you'd still need to supply a dummy implementation for malloc()
anyway when using the floating-point versions. vfprintf() or
vfscanf() will cause reference to malloc() [and free()] as they do not
know at link-time they won't really be needed.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/04
- Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Dmitry K., 2005/09/04
- Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Dmitry K., 2005/09/04
- Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Bernard Fouché, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750,
Joerg Wunsch <=
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Bernard Fouche, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Björn Haase, 2005/09/06
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/06
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Bernard Fouché, 2005/09/06
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/06
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Erik Christiansen, 2005/09/07
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Joerg Wunsch, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Bernard Fouche, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Russell Shaw, 2005/09/05
- Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750, Björn Haase, 2005/09/06