On Fri, Dec 16, 2011 at 3:27 PM, Joseph S. Myers
<jos...@codesourcery.com> wrote:
> 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
It means something only for GCC, nothing else.

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

When I configure GCC with i686-linux-android target, don't I get
linux as vendor and android OS? Adding another arbitrary string
as vendor looks very strange to me.


-- 
H.J.

Reply via email to