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.
There's a knowledgebase article that was last reviewed on June 7, 2005 that says the CARM compiler does not support 64-bit unsigned integers. I'm using the ARMCC compiler (from the RealView MDK-ARM toolchain), and the following code
char s[100]; unsigned int x32; unsigned long int x64; sprintf(s,"sizeof(x32)=%u\r\n",sizeof(x32)); printf(s); sprintf(s,"sizeof(x64)=%u\r\n",sizeof(x64)); printf(s);
produces the following output
sizeof(x32)=4 sizeof(x64)=4
This leads me to believe that the ARMCC tools don't support 64-bit math either.
However, if that's so, why doesn't the above code create any errors or warnings when it's compiled?
Is there a way to get 64-bit unsigned integer support in these tools?
That was what C51 used to do - and the trouble with that was that it couldn't (or just didn't?) give context-sensitive help from within the IDE.
But now the ARM tools don't even do the context-senstive help anymore - so they might as well use PDF!
(and ARM is one of the few companies that does enable annotations on its PDFs)
I found something like these, they are PDF files.
RealView Compilation Tools Version 3.1 Compiler User Guide
infocenter.arm.com/.../DUI0205H_rvct_compiler_user_guide.pdf
RealView Compilation Tools Version 3.1 Libraries and Floating Point Support Guide
infocenter.arm.com/.../DUI0349A_rvct_libraries_guide.pdf
I found them by
Input something like "RealView Compiler User Guide pdf"
in the search box of
http://www.arm.com/
Thanks!