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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=US3B5N7UdMZwvLswezSerXZw5d/s IfOKx5VFdJJ3b1A70rEEx3n1n6Rmh2OmDUWjcF5jPrxp8FVI0sghvyrTJKv179/W VEfe+Cx/Oa4kFo+GMH+iE5sS5kzGANuGHAVSyfRpVzNymkvTURgwWwdLr3eV38+U y1wSDFdeqlzuY2A= 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=9rruAKCoaTne7Gx9W2PI61nn3ao=; b=hg vJ/Q1Y6+ipWcs1kxFFy1IbZ43zuM34SO+FdkZnJQ3FGHJwLHeGI8cyFFytI9AzCT ZhNzqGvKUzhzzFtB9rJ89Rggi/CJMGE+MjlMI5iu70CruSR2to6iLsy5hG5Qb6oN bgf/8XL+huuAmplNcXNVTkgCe+FY3TjVtjRCn+1ZQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=sk:complex, UD:complex_internal.h, naturally, Hx-languages-length:1321 X-HELO: etr-usa.com Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: how to compile cygwin from sources in cygwin(win 7)? From: Warren Young In-Reply-To: <20160704123412.754382E00BF@webmail.sinamail.sina.com.cn> Date: Tue, 5 Jul 2016 19:47:04 -0600 Message-Id: <95F36B28-1BC9-4878-A391-8F6209E1DA3C@etr-usa.com> References: <20160704123412 DOT 754382E00BF AT webmail DOT sinamail DOT sina DOT com DOT cn> To: The Cygwin Mailing List X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u661lKr1019586 On Jul 4, 2016, at 6:34 AM, harryren0524 AT sina DOT com wrote: > > ../../../../cygwinSrc/winsup/cygwin/cxx.cc:32:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] > #pragma GCC diagnostic ignored "-Wc++14-compat” That says you’re using a GCC that doesn’t understand -Wc++14-compat, which means you’re not using the same GCC that Cygwin is normally built with. Either you’re using the wrong GCC unintentionally or you’re using a custom GCC that was built without C++14 support. > /cygwinObj/i686-pc-cygwin/winsup/cygwin/../../../../cygwinSrc/winsup/cygwin/math/complex_internal.h:138: multiple definition of `__mingw_raise_matherr’ I’m unsure about that one. The “mingw” part may mean that you’re unintentionally using MinGW’s GCC instead of Cygwin’s, or it might just mean that cygwin1.dll is being built with Cygwin’s GCC in “MinGW mode,” meaning that the target isn’t linked to cygwin1.dll. (Naturally cygwin1.dll is one of the few things in the stock Cygwin distribution that must be built as a native Windows API process. The other major piece of that kind is setup.exe. There’s also a few utility programs like cygcheck, which must be runnable while Cygwin is not working for whatever reason.) -- 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