This is the mail archive of the cygwin mailing list for the Cygwin 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: Which is it -pc- or -unknown-


On 2017-10-17 13:16, cyg Simple wrote:
> The config.guess file[1] is confused.
> 
> 840    i*:CYGWIN*:*)
> 841	echo ${UNAME_MACHINE}-pc-cygwin
> 842	exit ;;
> -----
> 870    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
> 871	echo x86_64-unknown-cygwin
> 872	exit ;;
> 
> The GCC executable is x86_64-pc-cygwin-gcc.exe but config.guess on my
> system gives x86_64-unknown-cygwin so specifying a fully qualified host
> doesn't find the executable file.  So which should it be?
> 
> [1]http://git.savannah.gnu.org/cgit/config.git/tree/config.guess?id=c003e5cb947924ca5edd25c3b840aaa373c66b28

That part of the triplet is defined as vendor, so it was probably initially
Intel, then compatibles came out and that was genericized to PC, then someone
objected and discussed and came up with Unknown, rather than say Any or None.
It may reflect development ages of projects, autotools, defaults on projects, or
project politics.
Some projects still use PC, which may be a project override, others use Unknown,
which should be the default in current releases of autotools.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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