How to generate a cross tool for my reqirement?

Dimitry Andric dimitry@andric.com
Wed Aug 10 13:19:00 GMT 2005


On 2005-08-10 at 12:50:39 Michael wrote:

> ........ -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?

Upgrade your kernel.  At least from 2.6.9 or 2.6.10 onwards, it should
be detected automatically.

Else, hand-hack arch/arm/Makefile, and replace all -mshort-load-bytes
options with -malignment-traps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050810/dd097bc4/attachment.sig>


More information about the crossgcc mailing list