This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Realview aligning variables

Note: This was originally posted on 22nd August 2011 at http://forums.arm.com

Hi

In Keil RealView is there some compiler or linker command switch that will ensure that all declared variables will be aligned to a 32bit boundary?

Edit: I'm using the Keil MDK toolchain, I'm not sure if this is the same as Realview. I've come across --min_array_alignment=4. I don't think its applicable to non array types. I want all types to be aligned
0