Hi fadden,

I am using for armv7:

arm-linux-gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.

For armv6:

arm-linux-gcc (GCC) 4.2.1 (Linux Base 4.2.1-37)
Copyright (C) 2007 Free Software Foundation, Inc.
Regards,
MS
On Mon, Apr 20, 2009 at 9:23 AM, Manish Sharma <manishsharm...@gmail.com>wrote:

>
> I am able to compile with the following rules for armv6. Presently working
> on armv7 but getting compilation error. Please see my previous mails.
>
> TARGET_ARCH_VERSION := armv6
>
> RULES for ARMv6:
>
> ARCH_ARM_HAVE_THUMB_SUPPORT := true
> ARCH_ARM_HAVE_THUMB_INTERWORKING := true
> ARCH_ARM_HAVE_64BIT_DATA := true
> ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true
> ARCH_ARM_HAVE_CLZ := true
> ARCH_ARM_HAVE_FFS := true
> arch_version_cflags := -march=armv6  -D__ARM_ARCH_6__
>
> Regards,
> MS
>
>
> On Sat, Apr 18, 2009 at 7:37 AM, DineshG <dinesh.n...@gmail.com> wrote:
>
>>
>> which compiler are you using ?
>>
>> On Apr 17, 12:21 pm, fadden <fad...@android.com> wrote:
>> > On Apr 16, 10:06 pm, Manish Sharma <manishsharm...@gmail.com> wrote:
>> >
>> > > target thumb C++: libsimplejni <=
>> > > development/samples/SimpleJNI/jni/native.cpp
>> > > development/samples/SimpleJNI/jni/native.cpp:1: error: bad value
>> (armv7-a)
>> > > for -march= switch
>> > > make: ***
>> > >
>> [out/target/product/generic/obj/SHARED_LIBRARIES/libsimplejni_intermediates/native.o]
>> > > Error 1
>> >
>> > It appears the compiler you're using doesn't support "-march=armv7-a".
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to