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 Dec 16, 2011, at 3:27 PM, Joseph S. Myers wrote:
> I think using the "company" part of the target triplet to mean anything 
> should be avoided;

I disagree.  Think of the string as a key that subscripts a database which has precooked answers that are used instead of probing for the answers which are used to configure software.  In fact, any meaning whatsoever and the exact shape are, if you will completely arbitrary and don't really have any meaning in the grand scheme of things, save, just convention and an easier time on humans.  I think we have to approach each case one a case by case basis.

That said, in this case, I agree with the notion that the more natural form would be:

  arm-nokia-linux-android

where nokia is the hardware vendor the sells the device with the software on it.  android isn't a vendor, there is no such company that sells (vends) hardware.

> -linux-android (note the "-", not "-linuxandroid") matches the standard GNU practice

Agreed.


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