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] |
Michael, Quoting Michael <mikore.li@gmail.com>: > At the end, I get a new compiler which can successfully compile app > such as telnetd, ftpd... when I try to use it to make kernel, it > reports > ........ -c -o init/version.o init/version.c > cc1: error: invalid option `short-load-bytes' > make: *** [init/version.o] Error 1 > It seems arm-xscale-linux-gnu-gcc can't support "short-load-bytes" > option. Is there any workaround? I guess you are using gcc-3.4.x (or above). So no, there's no workaround: Remove every occurences of -mshort-load-bytes. It's been obsoleted in gcc-3.4.x, and replaced by -malignment-traps, or even better, remove it entirely, as it is the default now. Sorry, I have no time to look back for references, but google a bit and you'll find them. gcc mailing list might help also. Regards, Yann. -- Yann E. MORIN Roaming in the world... ------ 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] |