Seems that my build system wish to use assembler for my x86, not arm-linux-gnueabihf-as.Īfter the installing arm-linux-gnueabihf to ~/.local into the one some directories are appeared: ~/.local> ls -l I wanted to compile some project for ARM with help arm-linux-gnueabihf-gcc compiler, but I have received this: as: unrecognised option '-mcpu=cortex-a53'Įrror during assembler. The system command whereis works true for all this compilers and shows valid path to binary executable file. bashrc script: export PATH="$HOME/.local/bin:$PATH" ![]() It was installed in my $(HOME)/.local/ directory.Īnd I have added this directory to binary path in the. It was installed in system path too.Īrm-linux-gnueabihf-gcc is for ARM target with hard float. It was installed in system path.Īrm-linux-gnueabi-gcc is for ARM target without hard float. Gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gzĪrm-linux-gnueabi-gcc: /usr/bin/arm-linux-gnueabi-gcc /usr/share/man/man1/arm-linux-gnueabi-gcc.1.gzĪrm-linux-gnueabihf-gcc: ~/.local/bin/arm-linux-gnueabihf-gcc ![]() ![]() I have some compilers for different architectures: $ > whereis gcc
0 Comments
Leave a Reply. |