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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3,642 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

3,631 Views
b36401
NXP Employee
NXP Employee
0 Kudos