[fixed]cc1: error: unrecognized command line option "-mlittle-endian"
For later download to s3c2410x board which emulated by skyeye, so I build the Linux kernel :
but got error:
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
google then find the reason is can not find the cross compile tools, mine is arm-linux-uclibc-XXXX
then I found that, although I have add the needed export the variable into .bashrc:
and change the arch and cross coompile in makefile:
#ARCH ?= $(SUBARCH)
ARCH = arm
CROSS_COMPILE = arm-linux-uclibc-
but forgot to close the terminal and restrat it to let the environment variable to take effect,
so close and restart the terminal, then do:
then can continue build….