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: PATCH: Add DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*


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


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