Web lists-archives.com

Re: Which is it -pc- or -unknown-




On 10/19/2017 10:18 AM, Ken Brown wrote:
> On 10/19/2017 9:19 AM, cyg Simple wrote:
>> On 10/18/2017 6:58 PM, JonY wrote:
>>> I agree with Yaakov, why does it need to change?
>>>
>>
>> See my response to Yaakov.  If you supply explicit host and build to
>> configure it does not work.
> 
> So don't do that.  Specifying host is for cross-compilation.  Specifying
> build without host is for overriding the result of config.guess (never
> necessary on Cygwin).  See
> 
> 
> https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Specifying-Target-Triplets.html
> 
> 
> In particular:  "If you mean to override the result of config.guess, use
> --build, not --host, since the latter enables cross-compilation."
> 

So?! It is still incorrect for the --target of the GCC build to be
x86_64-pc-cygwin.  My example didn't specify a different build from
host.  I ran across this from a package that was refusing to accept the
config.guess build triplet so I tried specifying both.  At that point it
failed to find x86_64-unknown-cygwin-gcc.

And ./configure --build=`/path/to/config.guess` will not work either as
currently delivered.

x86_64-pc-cygwin IS NOT CORRECT.  It needs fixed in the build process.

-- 
cyg Simple

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