This is the mail archive of the crossgcc@sources.redhat.com 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: crosstool-0.28-rc28 does not compile for ARM


On 2004-07-17 at 13:27:11 Steven Scholz wrote:

>>>/tmp/cc8N0ahh.s:11: Error: selected processor does not support `rfs r3'
>>>/tmp/cc8N0ahh.s:20: Error: selected processor does not support `wfs r3'

>> Can't confirm, but can you please specify what processor you are
>> trying to build for?  I guess this is some mismatch between the ARM
>> cpu type set in the linux kernel configuration, and in crosstool.

> I want to use it for ARM9 processors like Atmels AT91RM9200 and Motorolas i.MX.

Maybe you can try setting the CPU flags explicitly, as is done for
example in arm-9tdmi.dat:

KERNELCONFIG=`pwd`/arm.config
TARGET=arm-9tdmi-linux-gnu
GCC_EXTRA_CONFIG="--with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
TARGET_CFLAGS="-O"

(But if needed, replace arm9tdmi with "plain" arm9.)

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]