Hello everyone,

I am using fedora28 64bit as a host machine running on Intel core i5.

I am trying to install arm cross compiler to compile c programs and run it on Gem5 built for ARM in SE mode.

I did several attempts:

aarch64-linux-gnu-gcc  simple.c  -o  simple1   -static

I got: fatal error: stdio.h: No such file or directory #include <stdio.h>

x86_64-linux-gnu-gcc  simple.c  -o  simple1   -static
fatal error: stdio.h: No such file or directory  #include <stdio.h>

arm-linux-gnu-gcc /home/kadeed/Gem5/tests/test-progs/hello/src/hello.c -o helloo -static

/usr/bin/arm-linux-gnu-ld: skipping incompatible /usr/lib/gcc/arm-linux-gnueabi/8/libgcc_eh.a when searching for -lgcc_eh
/usr/bin/arm-linux-gnu-ld: cannot find -lgcc_eh
collect2: error: ld returned 1 exit status

No package worked for me!

could anyone give me a hint about what would be exactly the right arm cross compiler I need on Fedora28 to compile sources for Gem5 in SE mode?

Thanks in advance,
Thawra


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to