Re: [rust-dev] Help, what's the meaning of `unknown` in `x86_64-unknown-linux-gnu`?

2014-02-14 Thread Liigo Zhuang
2014-02-15 9:26 GMT+08:00 Lee Braiden leebr...@gmail.com:

 Unknown-linux presumably means generic linux, and GNU you should probably
 learn about, fir your own good, at gnu.org especially gnu.org/philosophy.

 Hint: much of what people think of as Linux is actually part of GNU, or
 using GNU.

If so, why not `x86_64-gnu-linux`?
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Help, what's the meaning of `unknown` in `x86_64-unknown-linux-gnu`?

2014-02-14 Thread Brian Anderson
This may be the most canonical description of target triples (autoconf 
config names): https://sourceware.org/autobook/autobook/autobook_17.html


Triples are just a short way of identifying a compilation target, and 
their naming is mostly out of our hands, established by historical 
precedent. The individual components of the triple mean very little - 
it's generally the entire string used to identify a platform. unknown 
is a common vendor name where there's no obvious vendor, shows up a lot 
in linux triples, though `x86_64-pc-linux-gnu` is also common; -gnu 
probably means the target has a GNU userspace.


On 02/14/2014 05:16 PM, Liigo Zhuang wrote:

Hello Rusties:

I'm using Debian 7.4 Linux, not unknown linux obviously.
And I don't know the meaning of `-gnu`.

On Windows, that it `x86-pc-mingw32`, which is quite meaningful to 
understand.


Thank you.

--
by *Liigo*, http://blog.csdn.net/liigo/
Google+ https://plus.google.com/105597640837742873343/


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Help, what's the meaning of `unknown` in `x86_64-unknown-linux-gnu`?

2014-02-14 Thread Liigo Zhuang
Thank you. But I don't think unknown is a meaningful word here, it says
nothing.
You didn't send to rust-dev@mozilla.org, so no other people can receive
your email except me.


2014-02-15 9:37 GMT+08:00 Lee Braiden leebr...@gmail.com:

 The elements of these triplets (each of the parts separated by dashes)
 have a specific order and meaning, so they can't just be randomly rephrased
 on a per-combination basis.

 They're not meant to be pretty English, but to encode information in a
 semi-readable format.
 On 15 Feb 2014 01:31, Liigo Zhuang com.li...@gmail.com wrote:

 2014-02-15 9:26 GMT+08:00 Lee Braiden leebr...@gmail.com:

 Unknown-linux presumably means generic linux, and GNU you should
 probably learn about, fir your own good, at gnu.org especially
 gnu.org/philosophy.

 Hint: much of what people think of as Linux is actually part of GNU,
 or using GNU.

 If so, why not `x86_64-gnu-linux`?




-- 
by *Liigo*, http://blog.csdn.net/liigo/
Google+  https://plus.google.com/105597640837742873343/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Help, what's the meaning of `unknown` in `x86_64-unknown-linux-gnu`?

2014-02-14 Thread Liigo Zhuang
Nice answer. Thank you!


2014-02-15 9:41 GMT+08:00 Brian Anderson bander...@mozilla.com:

  This may be the most canonical description of target triples (autoconf
 config names): https://sourceware.org/autobook/autobook/autobook_17.html

 Triples are just a short way of identifying a compilation target, and
 their naming is mostly out of our hands, established by historical
 precedent. The individual components of the triple mean very little - it's
 generally the entire string used to identify a platform. unknown is a
 common vendor name where there's no obvious vendor, shows up a lot in linux
 triples, though `x86_64-pc-linux-gnu` is also common; -gnu probably means
 the target has a GNU userspace.


 On 02/14/2014 05:16 PM, Liigo Zhuang wrote:

  Hello Rusties:

  I'm using Debian 7.4 Linux, not unknown linux obviously.
 And I don't know the meaning of `-gnu`.

  On Windows, that it `x86-pc-mingw32`, which is quite meaningful to
 understand.

  Thank you.

  --
 by *Liigo*, http://blog.csdn.net/liigo/
  Google+  https://plus.google.com/105597640837742873343/


 ___
 Rust-dev mailing 
 listRust-dev@mozilla.orghttps://mail.mozilla.org/listinfo/rust-dev



 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev




-- 
by *Liigo*, http://blog.csdn.net/liigo/
Google+  https://plus.google.com/105597640837742873343/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev