delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/13/13:07:25

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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=okc
7LECiAY4SF7yFGcwYtqC3Zi/TIbBfsiOSmxv4TZRyYxIdGkKHRF6mrendZTDKSRg
ONdduHQ8zRvU00iN0So1YpRhkBDNjMaBkKXsqOP1E+m9Sf70/N5rX3ILHCioDs1F
QCCE3UmoEXit8XzUfmmeXYRYXogYKBl9gm4f1U5g=
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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=syIPCugq8
Yq9L08TgB8krcMtl4g=; b=VZDQV4S/ZoPbLn5+Hgoijr7CyErmOSpBc+jOVTR2J
RFEOabor/FDEvuI1emro9NbLRNN/osKYvfJqW1dIqU6+a44Jvv3YNFft1FHRi2AZ
ZAE77d1PlSz7eccBp+7BbJW/G2753iiUtQKP7Jv0Skmmitdp0rEA4WrFFArChdnH
6c=
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=3.1 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-exchange-antispam-report-cfa-test:201702281529075, H*c:sk:VIHPRHH, H*c:alternative, H*c:HHH
X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com
From: Alberto Escrig Vidal <alberto DOT escrig AT itc DOT uji DOT es>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: clang dependencies
Date: Tue, 13 Feb 2018 18:07:07 +0000
Message-ID: <VI1PR0302MB339163B88EF35C501BC46ADBA0F60@VI1PR0302MB3391.eurprd03.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=alberto DOT escrig AT itc DOT uji DOT es;
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;VI1PR0302MB3311;6:dz0sXynOW4ytggfOXHp3Ah+cTffPcIAQ6K/cm1iwwMI94J7TuFj68q/r+1+0BIzh560WUDqFlA6QyxN9jo0SmxEROUEGxYi/COIOSR8Jf2Kg9dlW5px4sDuUV7ehdM8zXzjlmM6YMIqbrRGDBcC7CjI4dROzdSHcvBbyl5uwdvxMelxhBZwAoziRavnNBGGEwFrEPTrGiHexaRhp21XEXWvDcFUvcdGd20X2BclYNtENMBNSiViR4I6qyBaubIWDRbIJGFdvm4LXZjcPZ9vXCEMgVgkreviKJZrQjkYyMIS/ISX7XIbhKD7/22kFSt2S6NQWGvTNpv9CsClt+OiVhcPsoVEZqAEt342Q4O51+E7+sghVE5uo44hS4RnpNV80;5:aPnisTBo4vanTUrdfL4W8LMvvowPri9/bWHOtWO3fzNQrQLKcAkFpxpJHAR5PurROUPKu6TgMojPzhCZEnvCcawD3MQ5D4pME0IyoQuxMrzQ6ZYSgz2pktkYlv9dQF8XNbaUprwT4x9uU3CJwSnH9yEuS1WlRrWvzBTcJPexKw0=;24:Qfb6NMZ2/3NssVX0fQEVUHsQAljGjRoOtT+eoAVj5Ohj8/RS21ynbq6wPLCgTReoZIATN41Z0cBebaZWMUD/KAMEtqe1BXxFOIHyVeex0ck=;7:QHLQLwbEJGPE5PgtyDCHWeDnfhiagrhKHse2HcRGz4nXqCfgixYd/8z3KpBzIObwZre/kP0hFqJQQ0Ch51HMs7wDZbJ8bvdcxO14X4C5WURii3l7Ad9FwdMMk0FjFJRe6+bSlRL0vL+sSMQQeOFakvchydrN1z5j771kQZNbJi4nSjRWhoYBbxaDDyarSjGSjboYYqPcosM4oMD2n7qTL960UAnkQ03W5VTFduj/qtTYHb1+LiZJrLEVTZ4+NBgr
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: e81c2d0a-f703-4490-cd75-08d5730c986b
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:VI1PR0302MB3311;
x-ms-traffictypediagnostic: VI1PR0302MB3311:
x-microsoft-antispam-prvs: <VI1PR0302MB33116F826B29B967D0130192A0F60 AT VI1PR0302MB3311 DOT eurprd03 DOT prod DOT outlook DOT com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(3231101)(944501161)(3002001)(10201501046)(93006095)(93001095)(6041288)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:VI1PR0302MB3311;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0302MB3311;
x-forefront-prvs: 0582641F53
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39850400004)(396003)(39380400002)(346002)(376002)(199004)(189003)(9686003)(6436002)(74482002)(25786009)(53336002)(8936002)(3480700004)(5640700003)(2900100001)(55016002)(54896002)(102836004)(99286004)(7696005)(186003)(6116002)(786003)(316002)(3280700002)(26005)(86362001)(2906002)(3846002)(5660300001)(97736004)(6506007)(68736007)(478600001)(6916009)(3660700001)(106356001)(81156014)(81166006)(1730700003)(8676002)(33656002)(42882006)(6606003)(19627405001)(14454004)(5250100002)(74316002)(7736002)(2501003)(53936002)(105586002)(66066001)(2351001)(221733001)(7116003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0302MB3311;H:VI1PR0302MB3391.eurprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en;
received-spf: None (protection.outlook.com: itc.uji.es does not designate permitted sender hosts)
x-microsoft-antispam-message-info: yDZvZhmh2cKZBTYQQFuB0HyZHA534FTC/OtxfBaXwtONwSpg1w02FScdzvEAOa1Vmb3kDHP0tvfqpMYJQNmaxA==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-OriginatorOrg: itc.uji.es
X-MS-Exchange-CrossTenant-Network-Message-Id: e81c2d0a-f703-4490-cd75-08d5730c986b
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2018 18:07:07.5234 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 6a53a07f-f9a9-45ac-a064-be615a5a735c
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0302MB3311
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w1DI7N0U011028

Consider the following program:
#include <iostream>
int main() {}

If I compile it with
clang++ -stdlib=libc++ foo.cpp
i get the error:
/usr/include/c++/v1/locale:197:10: fatal error: 'nl_types.h' file not found
#include <nl_types.h>

The reason is that libcatgets-devel 1.1-2 was obsoleted by cygwin-devel.

On the other hand, if I compile it with:
clang++ -stdlib=libc++ foo.cpp
it fails to link via gcc because -liconv is missing, yet I got libiconv installed. I had to manually install libiconv-dev for libiconv.a to be in /usr/lib/.

Please consider the above issues.

Looking forward to gcc-7.

Cheers


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019