This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
(SIDE NOTE: previously, to select sh3eb, i had the following line in the .dat file:
TARGET_CFLAGS="-O -m3 -mb"
however, based on this excerpt from arch/sh/Makefile:
cflags-y := -mb cflags-$(CONFIG_CPU_LITTLE_ENDIAN) := -ml ... cflags-$(CONFIG_CPU_SH3) += -m3
it appears that i can delete those two -m flags and it won't make any difference, so i dropped them and it still worked.)
+ make ARCH=sh prepare include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CC scripts/mod/empty.o cc1: error: invalid option â'b' cc1: error: invalid option â'3' make[2]: *** [scripts/mod/empty.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2
what that tells me is that the perfectly valid SH3 options -mb and -m3 are unrecognized, which further suggests that the wrong compiler is being used since it doesn't recognize SH3-specific options.
Maybe the problem is that the kernel makefile is applying target cflags when it shouldn't, for some reason. - Dan
-- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |