Suppose you have a cross-compilation tool-chain that produces binaries for the ARM architecture.
Your tool-chain is like this (running on a X86_64 machine with Linux):
... and the plethora of other tools for cross-compilation on ARM.
Points that I'm interested in are:
-mabi
and that can be one of ‘apcs-gnu’, ‘atpcs’, ‘aapcs’, ‘aapcs-linux’ and ‘iwmmxt’.You can check GCC ARM options online.