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] |
On 4/27/10, ng@piments.com<ng@piments.com> wrote:Uptil now I was using -march=armv4t , setting it ep9312 fails on 4.2.4
[ALL ] /back/ts/ct-ng/targets/src/gcc-4.2.4/gcc/crtstuff.c:1: warning: target CPU does not support interworking [ALL ] Assembler messages: [ALL ] Error: unknown architecture `ep9312' [ALL ] [ALL ] Error: unrecognized option -march=ep9312
THat's not GCC. That's the assembler (binutils).
Yeah, this whole area is a pain. Can you drop the empty -march switch and use -mcpu-ep9312? That's the only combinatin that seems to work with GCC and the assembler
LIBC_GLIBC_EXTRA_CFLAGS=-mfpu=maverick -mfloat-abi=softfp -mcpu=ep9312 CT_ARCH_CPU = ep9312
Could this relate to the -march= switch message I was getting before. Is some other stage deciding this is invalid and replacing it with a null string?
If ther is an empty -march or -march=armv4t it's probably best not to have *any* -march flag. You may have to hack crosstool-ng to achieve this, I don't know.
M
-- 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] |