cross compilation error
-
I got error when configure for cross compile. I want to compile qt for aarch64 5.9.5. I use Ubuntu 22.04. Thanks already for help.
my script is ;
../qt-everywhere-opensource-src-5.9.5/configure -opengl es2 -device linux-jetson-nano -device-option CROSS_COMPILE=/home/serkan/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -sysroot ~/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu -prefix ~/Documents/qt5_nano -opensource -confirm-license -skip qtscript -skip wayland -skip qtwebengine -force-debug-info -skip qtdatavis3d -skip qtlocation -nomake examples -make libs -pkg-config -no-use-gold-linker -vMy error is below;
/home/serkan/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -pipe -march=armv8-a --sysroot=/home/serkan/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu -O2 -w -fPIC -I/home/serkan/Documents/l4t-gcc/qt_src/qt-everywhere-opensource-src-5.9.5/qtbase/config.tests/verifyspec -I. -I/home/serkan/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/usr/include -I/home/serkan/Documents/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/usr/include/aarch64-linux-gnu -I/home/serkan/Documents/l4t-gcc/qt_src/qt-everywhere-opensource-src-5.9.5/qtbase/mkspecs/devices/linux-jetson-nano -o verifyspec.o /home/serkan/Documents/l4t-gcc/qt_src/qt-everywhere-opensource-src-5.9.5/qtbase/config.tests/verifyspec/verifyspec.cpp
as: unrecognized option '-EL'
gmake: *** [Makefile:178: verifyspec.o] Error 2
Note: Also available for Linux: linux-clang linux-icc