This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: crt0.o from newlib has ARM32-only routines when building gcc for arm-eabi


On 18/06/12 22:42, Khem Raj wrote:
> On Mon, Jun 18, 2012 at 2:07 PM, David Fernandez
> <david.fernandez.work@googlemail.com> wrote:
>> Is that expected? As crt0.S in newlib has #ifdefs to choose the right
>> thumb-2, thumb or ARM specific assembler depending on the predefined macros.
> look for compiler cmdline when this was compiled. Did you use --with-mode=thumb
> when configuring the compiler ?
Gosh! I didn't. No idea that it needed a special parameter to have thumb
only mode... even for a CPU that will refuse to compile without "-mthumb"...

Thanks for the tip. I'll try that soon.

Cheers

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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