I am trying to use ARM foundation model for aarch64 simulation on Linux (Ubuntu 20.4). Arm has provided a simple hello world program source and binary to run on the fast model. The binary executes well on the simulator. The example folder contains a make file. The main statements are
armcc --cpu=8-A.64.no_neon -g -O2 -c -o $@ $<
armlink --cpu=8-A.64.no_neon --ro-base 0x80000000 -o $@ $^
Is it possible to build this sample using aarch64-linux-gnu-gcc
? I tried with aarch64-linux-gnu-gcc hello.c -o hello --static
. The simulation starts, it is not showing any output. Is this the right way? Any hint is greatly appreciated..