This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: Add Android related compilation options and multilib options


Richard Guenther <richard.guenther@gmail.com> writes:

> On Tue, Jun 16, 2009 at 2:50 AM, Jing Yu<jingyu@google.com> wrote:
>> This patch does three things:
>>
>> 1. Add -mandroid option to the compiler.
>> Â (This part was originally written by Doug Kwan dougkwan@google.com
>> for gcc-4.3.1)
>> Â ÂWith this option, users can easily compile programs for android.
>> Â ÂSuppose arm-eabi-gcc is built with android sysroot. Then we can use a simple
>> Â Â Âcommand to compile a program:
>> Â Âeg. Âarm-eabi-gcc -mandroid hello.c -o hello
>
> Why don't you add android as a os variant and configure
> for a arm-eabi-android target instead?

That is what Doug Kwan proposed originally, and Mark Mitchell said this:

http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01795.html

I try to avoid approving Google patches, but now different maintainers
are just jerking around the Android folks.  That is unfair.

What do we want to do here?

Ian


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