| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; q=dns; s=default; b=XhwR | |
| 4ou6SHNP+BN6WY/LgBGzH68uO+wSROkuiUzJHopsFOX5ecQ8n+j9QqH6KIkqmHEx | |
| VOktnwHK9QYL655iAR3L7+Cg1LoeAt/AkcsgqKq5CR+uDLXK1zZuKkGHLuFKKakp | |
| SbuUxBjbJPhh+HRgThyqQ4dYz3kSx9AamzrulWU= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; s=default; bh=8v/WvTNvid | |
| vtbjChlvq4YW6ZMn0=; b=M9FokkAKymFvDyxJQS7dumMd4K2hBm9uGIB2/0BVO4 | |
| 5Xl7NhbtM3jpRsB6S1Fu/u3ZhxVG5G0FHrNr4Gi2nA6BduGFq+0w0QijK5kjoL6l | |
| Mleyzyya8Az8IqiatZOiJATwMoZ/hAnlRf6za4LbmhbTOMfTvdeY61TgR/f5RU9u | |
| I= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=pulled |
| X-HELO: | mx1.redhat.com |
| Subject: | Re: clang dependencies |
| To: | cygwin AT cygwin DOT com |
| References: | <VI1PR0302MB339163B88EF35C501BC46ADBA0F60 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com> |
| From: | Yaakov Selkowitz <yselkowitz AT cygwin DOT com> |
| Message-ID: | <5aa58de2-921e-ebfc-4134-0c4dbeda0367@cygwin.com> |
| Date: | Tue, 13 Feb 2018 17:35:48 -0600 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <VI1PR0302MB339163B88EF35C501BC46ADBA0F60@VI1PR0302MB3391.eurprd03.prod.outlook.com> |
| X-IsSubscribed: | yes |
--NEKMdu5bPIKvDyXW9n0hfVS16IIoVjR52
Content-Type: multipart/mixed; boundary="uWtt4AZFOuXy7RnYkUsG6lb9DQirtklxm";
protected-headers="v1"
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <5aa58de2-921e-ebfc-4134-0c4dbeda0367 AT cygwin DOT com>
Subject: Re: clang dependencies
References: <VI1PR0302MB339163B88EF35C501BC46ADBA0F60 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com>
In-Reply-To: <VI1PR0302MB339163B88EF35C501BC46ADBA0F60 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com>
--uWtt4AZFOuXy7RnYkUsG6lb9DQirtklxm
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: quoted-printable
On 2018-02-13 12:07, Alberto Escrig Vidal wrote:
> Consider the following program:
> #include <iostream>
> int main() {}
>=20
> If I compile it with
> clang++ -stdlib=3Dlibc++ foo.cpp
> i get the error:
> /usr/include/c++/v1/locale:197:10: fatal error: 'nl_types.h' file not fou=
nd
> #include <nl_types.h>
>=20
> The reason is that libcatgets-devel 1.1-2 was obsoleted by cygwin-devel.
It sounds like you did not update cygwin/cygwin-devel and
catgets/libcatgets-devel in sync. Could you check:
$ cygcheck -c cygwin cygwin-devel
Cygwin Package Information
Package Version Status
cygwin 2.10.0-1 OK
cygwin-devel 2.10.0-1 OK
If either those say Incomplete instead of OK -- which I suspect at least
cygwin-devel will -- then reinstall that/those package(s).
> On the other hand, if I compile it with:
> clang++ -stdlib=3Dlibc++ foo.cpp
You mean clang++ -stdlib=3Dlibstdc++ here?
> it fails to link via gcc because -liconv is missing, yet I got libiconv i=
nstalled.> I had to manually install libiconv-dev for libiconv.a to be in /=
usr/lib/.
libiconv-devel should have been pulled in by something else, but I'll
have to take a look.
--=20
Yaakov
--uWtt4AZFOuXy7RnYkUsG6lb9DQirtklxm--
--NEKMdu5bPIKvDyXW9n0hfVS16IIoVjR52
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
iHQEARECADQWIQRFYAu5jKh4qpenARn/IK+aZu4flAUCWoN2VBYceXNlbGtvd2l0
ekBjeWd3aW4uY29tAAoJEP8gr5pm7h+UdHQAn2o57s/1e5jHi6Tjdm6aiJwp0otW
AJ0cpRwWkvjgnctdfAey0xmlp440Pw==
=SOT6
-----END PGP SIGNATURE-----
--NEKMdu5bPIKvDyXW9n0hfVS16IIoVjR52--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |