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


On Mon, 2009-06-15 at 17:50 -0700, Jing Yu wrote:
> This patch does three things:
> 

Please post separate messages for independent patches.

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

As previously stated by others, I think this is a bad idea; it should be
done as a new configuration.  It doesn't make sense to be able to
specifiy -mandroid if you've got a symbianOS or a netbsd compiler.

> 2. Add mandroid multilib option and armv7a multilib option.

the first of these should go away once you've got a separate
configuration.

R.


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