SPRINTF??
2006-04-03 by ah_sandiego
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2006-04-03 by ah_sandiego
I want to use SPRINTF in my program. I included <stdio.h> and <string.h> and it didn't work. I am using GCC tools. Any suggestions? Thanks, AH
2006-04-03 by yugandhar_vasi
To use those functions, malloc has to work, Check if you have proper implementation of brk, sbrk to adjust the pointer to allocate memory. You can just have functions _sbrk, _brk defined in your source files to implement those functions, after this your stdlib should start to work. --- In lpc2000@yahoogroups.com, "ah_sandiego" <ah_sandiego@...> wrote:
> > I want to use SPRINTF in my program. I included <stdio.h> and > <string.h> and it didn't work. > > I am using GCC tools. > > Any suggestions? > > Thanks, > AH >
2006-04-04 by Boris Králik
I don't link stdio.h, I use only printf/sprintf source
code from menie.com and it work correctly. If you
want, you can to download from my website, project
example. I don't remeber right path to original
website.
btw: I am using GCC too.
--- ah_sandiego <ah_sandiego@...> wrote:
> I want to use SPRINTF in my program. I included
> <stdio.h> and
> <string.h> and it didn't work.
>
> I am using GCC tools.
>
> Any suggestions?
>
> Thanks,
> AH
>
>
>
>
--
"Software is like sex, it's better when it's free."
-- Linus Torvalds
Regards / S pozdravom Boris Kralik
http://www.geocities.com/kralikbo/
-------------------------------------------------
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com2006-04-04 by Bertrik Sikken
The path to the sources is http://www.menie.org/georges/embedded/ I use this printf implementation too. Has anybody compared this (s)printf version with the one that was just posted to the files area (from Rud Merriam, Compsult, Inc. Houston, Tx.)? Boris Kr\ufffdlik wrote:
> I don't link stdio.h, I use only printf/sprintf source > code from menie.com and it work correctly. If you > want, you can to download from my website, project > example. I don't remeber right path to original > website. > btw: I am using GCC too. > > --- ah_sandiego <ah_sandiego@...> wrote: > >> I want to use SPRINTF in my program. I included >> <stdio.h> and >> <string.h> and it didn't work. >> >> I am using GCC tools. >> >> Any suggestions?