We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using ARM DS-5 version 5.29.1 and trying to develop a baremetal Position Independent Executable project for Cortex-A72.But most pic/pid compiler option and linker option dose not support for arch64,I do not know where can I find related documents and example.
Thanks
Hi again,Sorry, my mistake, you are right, "-fbare-metal-pie" won't work for you.However, recent versions of Arm Compiler 6 now support "-fpic" for AArch64:developer.arm.com/.../-fpic---fno-picYou'll need Arm Compiler 6.13 or later - unfortunately, the Arm Compiler 6.10.1 that comes with DS-5 v5.29.1 is too old.DS-5 has been superseded by Arm Development Studio. Arm DS 2020.0 comes with Arm Compiler 6.14.You can download a free 30-day evaluation of Arm DS from https://developer.arm.com/tools-and-software/embedded/arm-development-studioHope this helps
Stephen