This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM GNU compiler switch



Hi,

I am using the GNU compiler for ARM core in TI OMAP L138 which is ARM926EJ-S.

Thus, I set the compiler switch -mcpu=arm926ej-s. What is the corresponding value for -march ?

Normal 0 false false false EN-US ZH-CN X-NONE MicrosoftInternetExplorer4

I look at the document in the compiler installation folder, below is my choice, but I don’t know which one is corresponding to “arm926ej-s” ?

 

Permissible names are: armv2, armv2a, armv3, armv3m, armv4,

armv4t, armv5, armv5t, armv5te, armv6, armv6j, armv6t2, armv6z,

armv6zk, armv7, armv7-a, armv7-r, armv7-m, iwmmxt, ep9312.

rgds,

kc Wong