From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52495 invoked by alias); 24 Mar 2016 19:29:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52480 invoked by uid 89); 24 Mar 2016 19:29:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=haven, beta, singhal, rashi X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Mar 2016 19:29:47 +0000 Received: (qmail 19990 invoked by uid 13447); 24 Mar 2016 19:29:45 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 24 Mar 2016 19:29:45 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Cygwin 1.7-58 with windows 2008 From: Warren Young In-Reply-To: Date: Thu, 24 Mar 2016 19:29:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <02703004-3392-428D-8E0F-3ACC6F751B40@etr-usa.com> References: To: The Cygwin Mailing List X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00497.txt.bz2 On Mar 23, 2016, at 10:20 PM, Rashi Singhal wrote: >=20 > Is there any other procedure for building an older release of cygwin. Cygwin is not GCC Ada, nor vice versa. I=E2=80=99m being pedantic because you=E2=80=99re referencing Cygwin build = instructions but having trouble with a third-party package. You may have t= he version of GCC Ada that was distributed at the same time that Cygwin 1.7= .0-58 was current, but that doesn=E2=80=99t mean that version of Cygwin=E2= =80=99s build instructions are relevant to GCC Ada. You need to read the README and INSTALL files that came with GCC Ada. I=E2=80=99ve never built GCC Ada from source =E2=80=94 or used it as a bina= ry, for that matter =E2=80=94 but I=E2=80=99ll go through your config.log f= ile and see what I can see. > Invocation command line was >=20 > $ /oss/src/configure --prefix=3D/oss/install -v That seems very odd. First, it implies that you have unpacked the Cygwin GCC Ada source package = into /oss/src. It should be unpacked into a directory named gcc-ada-*, sho= uldn=E2=80=99t it? Second, running a GNU autoconf configure script from a directory other than= the source tree means you get a separate build tree. GCC Ada should be ab= le to be built that way, but usually the pattern looks different from what = you show. That implies that you haven=E2=80=99t read the GCC Ada build ins= tructions. > uname -v =3D 2009-08-13 17:52 Well, that=E2=80=99s a good sign. It implies that you have gotten Cygwin 1= .7.0-58 built and are building underneath it. Are you using a contemporane= ous version of all the other tools? Shell, make, gcc, newlib, libbfd, etc.? What I=E2=80=99m getting at is, by this point you should have a standalone = basic Cygwin 1.7 environment, no longer dependent on any Cygwin 2.x DLLs, t= ools, etc. Do you? > configure:3288: gcc --version &5 > gcc (GCC) 4.3.2 20080827 (beta) 2 > Copyright (C) 2008 Free Software Foundation, Inc. It looks like you don=E2=80=99t have a standalone environment yet. According to the Cygwin Time Machine, Cygwin was still shipping GCC 3.4.4 a= t that time. Which reminds me: why are you building from source and not using the binari= es from the Cygwin Time Machine? Even if you want to build from source eventually, you should rebuild everyt= hing using contemporaneous tools, not modern ones. > configure:4175: g++ -c -g -O2 conftest.cc >&5 > conftest.cc:9: error: 'void std::exit(int)' should have been declared ins= ide 'std' > In file included from conftest.cc:10: > /usr/include/stdlib.h:80: error: declaration of 'void std::exit(int)' thr= ows different exceptions > conftest.cc:9: error: from previous declaration 'void std::exit(int) thro= w ()' > configure:4181: $? =3D 1 >=20 That=E2=80=99s the sort of error you get when trying to build old (7 years!= ) sources with current tools. -- 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