We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
not able to use printf statement in keil uvision 4
Of course. You decided to try to lie to the compiler and making a false claim.
A $20 bill will still be a $20 bill even if you try to tell someone it is a $100 bill.
That function takes the arguments that it did when Keil compiled the C runtime library. And Keil implemented their runtime library based on the C language standard. Trying to lie to the compiler and claim strstr() takes different data types by writing a new function prototype is not the route to go.
So did you try out Google? Didn't you see any answers that seemed relevant to your problem? What is your view on type casts? What they are? And if they may be applicable to this problem? Would a type cast be able to keep the compiler happy, while also make strstr() still perform a correct job?
i need sample code on arm9 lpc 2929 i have a development board on that...........
hi, i need to port linux on ARM 9 LPC2929, so i need a help. and i need the steps to port the os help me out sir..
"hi, i need to port linux on ARM 9 LPC2929, so i need a help. and i need the steps to port the os help me out sir.."
What does that have to do with using printf()?
Andrew Neil obviously knows.
No, he doesn't.
But he knows where to ask: www.lmgtfy.com
sir, i didn't get the proper information from the link u gave so kindly support how to port linux on ARM 9 LPC2929
The documentation that you require to tell you how to perform a Linux port is called a "Porting Guide".
The search link gives you links to plenty of Porting Guides - so what, exactly, is it that you require?
Note that performing a Linux port is not a trivial or beginners task - you need to have a deep understanding of the Linux kernel, and a good understanding of your target hardware, and very good 'C' skills...
Isn't it rather obvious that "i need the steps to port the os" means: "where can I downloaded an already ported version"?
Otherwise, the message would probably have been "I have tried to port Linux to xxx but am currently stuck getting xxx to work - anyone have any idea?"
sir, thanks for your reply sir...