Assembly code using neon vector registers for arm64 and arm32 platforms
https://futurewei-cloud.github.io/ARM-Datacenter/qemu/how-to-launch-aarch64-vm/
https://www.cnblogs.com/pengdonglin137/p/6431234.html
Use gcc in ubuntu aarch64, just like doing in ubuntu x86
Build in x86 host, using gcc-arm-none-eabi or android-ndk toolchains. For example:
*/android-ndk-r21b/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang -static -mcpu=cortex-a15 -mfpu=neon -mfloat-abi=softfp a.c
How to run arm 32-bit app on arm 64-bit platform?
Do the instructions in the above post in ubuntu aarch64 vm. Then you can run arm 32-bit app on aarch64 platform!
In ubuntu aarch64 vm, just use gdb to debug.(Maybe you need to install gcc-arm-none-eabi first)