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: ldrb vs ldrh in gcc-3.4.4 (ARM)


Richard,

ARGH! There's no "--with-cpu=arm920t" !

This has been fixed in gcc-4.0 and it's also been fixed in the CodeSourcery version of 3.4 (http://www.codesourcery.com/gnu_toolchains/arm/).

gcc/config/arm/arm.h only knows

#define TARGET_CPU_arm9         0x0080
#define TARGET_CPU_arm9tdmi     0x0080

I suppose it's defined as 0x0080 as well!?

The new code takes a completely different approach to configuring the default cpu. It's no-longer done with #defines in the way that a stock 3.4 release did.

Ah. Ok. But since I want/have to build my own tool chain I'd use "--with-cpu=arm9" for now.

Thanks a million for your help!

--
Steven


------ 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]