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-19 11:44, cyg Simple wrote:
> On 10/19/2017 11:04 AM, Yaakov Selkowitz wrote:
>> We've been building packages for 64-bit Cygwin for years now without a
>> problem.  Maybe you could just tell what you're trying to do and the
>> problem you're seeing so that we can assist you, instead of this
>> circular discussion of a nonexistent problem.
> The scenario occurred when I was trying to configure a package and that
> package was refusing to accept the config.guess build triplet.

While you're still being vague (in terms of which package you are
building and exactly what the error is), that sounds like an issue with
(usually old) sources bundling an ancient config.{guess,sub} which
doesn't know about 64-bit Cygwin.  I have several packages like this.
cygport's gnuconfigize command is intended to help with such cases.

> So I decided to do
> cyg=`/path/to/config.guess`; ./configure --host=$cyg --build=$cyg

This is incorrect.

> The configure couldn't find x86_64-unknown-cygwin-gcc.  When I looked in
> /usr/bin I found x86_64-pc-cygwin-gcc instead!!  So which is it, it
> cannot be both!

When you *really* need to use --build and/or --host, then you need to
use x86_64-pc-cygwin, as that is our chosen name.


Attachment: signature.asc
Description: OpenPGP digital signature

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