egcc: error: unrecognized command line option ‘-mlittle-endian’ in imx8m mini for Android 10 OS

cancel
Showing results for 
Search instead for 
Did you mean: 

egcc: error: unrecognized command line option ‘-mlittle-endian’ in imx8m mini for Android 10 OS

265 Views
Ruban1
Contributor II

facing  error . Kindly support according to the imformation which i got 

the toolchain which i am using is GCC

export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-

its asking for Arm cross compiler

 

Error

WRAP arch/arm64/include/generated/asm/vga.h
UPD include/config/kernel.release
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
CC scripts/mod/empty.o
gcc: error: unrecognized command line option ‘-mlittle-endian’
make[1]: *** [scripts/Makefile.build:287: scripts/mod/empty.o] Error 1
make: *** [Makefile:1177: prepare0] Error 2

 

kindly provide an answer

 

 

 

Labels (1)
0 Kudos
1 Reply

255 Views
b36401
NXP TechSupport
NXP TechSupport
0 Kudos