ARMCC dependency on ARM processor on the board
Is armcc dependent on the type of ARM processor on the hardware board ?


Yes.

To put it bluntly, an ARM7TDMI and a Cortex-A9 are totally different processors, that happen to share some instructions. Yet both are routinely called 'ARM' chips. Within the Cortexes the differences are smaller, but still significant. You might get by with using a lower number like cortex-a8, but YMMV.

I am not familiar with armcc (google seems to know more than one compiler with this name). Check the release notes of your version to see whether A9 is supported. Maybe you can upgrade to a newer version.