This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Dec 2011 23:27:33 +0000 (UTC)
- Subject: Re: PATCH: Add DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*
- References: <20111215164354.GA8290@intel.com>
On Thu, 15 Dec 2011, H.J. Lu wrote:
> Hi,
>
> Linux/x86 target is configured as i686-android-linux. Changing it to
> i686-linuxandroid requires changes in many packages. This patch adds
> DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*. OK for
> trunk in stage 1?
I think using the "company" part of the target triplet to mean anything
should be avoided; it's just an arbitrary identifier that users may set to
distinguish multiple compilers for similar targets. We may not be able to
get rid of existing cases that treat it as significant, but can avoid
adding new ones. -linux-android (note the "-", not "-linuxandroid")
matches the standard GNU practice where the last part is -KERNEL-OS (thus,
-linux-gnu for Linux kernel, GNU OS, -linux-android for Linux kernel,
Android OS).
--
Joseph S. Myers
joseph@codesourcery.com