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.
I am trying to write startup code in C for lpc2148 using arm real view compiler. please kindly help me.
yes the start up file from keil works perfectly and gcc start up code is not portable since its compiler specific. There is a challenge for me to write start up code in C for real view arm compiler and i personally like to do that to understand how stack initialization and vector table initialization can be done in C. Kindly help me how to do it and where to start it.
So get on and take up your challenge, then!
Don't just sit there expecting others to do your research for you - where's the challenge in that?!
"gcc start up code is not portable"
Isn't it?
Have you actually looked?
Have you thought about how the "compiler specifics" could either be made non-specific, or ported to the specifics of Keil...?
www.doulos.com/.../
See here, for an example: www.at91.com/.../t,22785.html
Thank You for your great answer, I am not expecting any one to do it for me, i just seeking any hints people can give so that it can make my work easier and save time. i am just trying to port gcc start up file to RV Compiler.
Thanks for the link
is that C programming cannot be optimized to the assembly level program.