Hi, I am trying to use RV ARM C compiler from Keil and wanted to know the data sizes and storage types used in int, char, float, etc. I saw the following online help on keil.com but could not find the information: RealView Compiler User's Guide http://www.keil.com/support/man/docs/armcc/ RealView Compiler Reference Guide http://www.keil.com/support/man/docs/armccref/ Can anyone tell where can I find this information? May be I missed it on Keil.com website! Thanks in advance JS
data sizes in Keil RV ARM C compiler
Started by ●September 11, 2008
Reply by ●September 11, 20082008-09-11
> Can anyone tell where can I find this information? May be I missed it > on Keil.com website!Is this what you are looking for? http://www.keil.com/support/man/docs/armccref/armccref_babfcgfc.htm -- Paul
Reply by ●September 11, 20082008-09-11
On Wed, 10 Sep 2008 20:43:01 -0700 (PDT), jsahambi@iitg.ernet.in wrote:>Hi, >I am trying to use RV ARM C compiler from Keil and wanted to know the >data sizes and storage types used in int, char, float, etc. I saw the >following online help on keil.com but could not find the information: > >RealView Compiler User's Guide >http://www.keil.com/support/man/docs/armcc/ >RealView Compiler Reference Guide >http://www.keil.com/support/man/docs/armccref/ > >Can anyone tell where can I find this information? May be I missed it >on Keil.com website!limits.h float.h sizeof -- Rich Webb Norfolk, VA
Reply by ●September 11, 20082008-09-11
jsahambi@iitg.ernet.in wrote:> > I am trying to use RV ARM C compiler from Keil and wanted to > know the data sizes and storage types used in int, char, float, > etc. I saw the following online help on keil.com but could not > find the information:Those characteristics are all spelled out in float.h and limits.h. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section.
Reply by ●September 11, 20082008-09-11
Thanks Paul. You hit the nail on the head. Thanks to others for useful information. I will look into the header files as suggested. I wonder if there are pdf files for Keil ARM compiler users guide and reference. cheers JS
Reply by ●September 11, 20082008-09-11
<jsahambi@iitg.ernet.in> wrote in message news:00737bc6-02f1-4e94-ae59-5d217ec874e7@v13g2000pro.googlegroups.com...> Thanks Paul. You hit the nail on the head. Thanks to others for useful > information. I will look into the header files as suggested. > > I wonder if there are pdf files for Keil ARM compiler users guide and > reference.The Keil and RealView compilers are pretty much the same with minimal changes to features and command-line syntax. The details of the types, size, alignment and data layout etc is in the ARM EABI. The sizes are as you expect on any 32-bit system, so there are no surprises. Wilco