Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

SPRINTF??

SPRINTF??

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

Re: SPRINTF??

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:
Show quoted textHide quoted text
>
> 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
>

Re: [lpc2000] SPRINTF??

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

Re: [lpc2000] SPRINTF??

2006-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:
Show quoted textHide quoted text
> 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?

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.