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]

Re: How to generate a cross tool for my reqirement?


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.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]