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:references :in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=BEWCmegcGr1O/uAD 2SN6oGwytlFrfIv2+kHER13bix/+BJErw4zQ1dyBtP8P5ItzRtirJe9sxdalm443 We1DZxay1pZZC00vOLeMkGgM7QFgPQqKabdv3/b1O0ADJULLVLvL2dzVu68v2bjv 9bOdQEDDptFxhqYfP+yhMCby3og= 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:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=PyAO51J2nDTNSIJnt2HwBu +hS6A=; b=L1VvPOxEmYnKZcqzwpzGp1T20qwNc/EZSBxZPqyJjZEapuoZbdyUbv 4vlyRcZQ/1SaBO8Z2XcliHSTQdzUVdu/6rm6LHN/uC9AuTZ0lFkhPB5k6dYupUM2 gK/3kbTOCuQEKbguNaFqq6QqT3332sRGOF2Bd+0CBmgKJIrm5G2j0= 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-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=no, cygwinownercygwincom, U*cygwin-owner, cygwin-owner AT cygwin DOT com X-HELO: EUR03-VE1-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3VmTFWWvdtBv3L+1DSn6xpNp5rca+IobeedmIm95vCA=; b=MXDh0qrHL4tgw0soTvBlSIBc2YTfTmIJeSPEW4paBkMfvuRgHhiUrRBH506kcdTg6kYxK+jLrbtHPaoWnPqIrOk04S4vSlXBolpRtlXmaOCn5XtT5B/C/g+vpVn+tjul5tAPwDvwvaEE2/ykfo7/YVntGePNMyvA0qUoRio2617lW/eq6BrariLEb+zDu/WlfBKO1srmhmd12JOkTCcG7FwAhAMsDHIqtANW7GUnrO32akukINUXItxZ49kRRx7O5ZeuWWFKGccI9a/nSWqViRAtXJZV/3ANYfZgjXB+GpKcSmAPCxVKI2pmBJTag0sLN0xzgQVptUBqih2xuQ0JZA== From: Jose Isaias Cabrera To: Ken Brown , "cygwin AT cygwin DOT com" Subject: Re: How to install gcc and g++ 6 on cygwin which are not on the setup.exe Date: Sun, 19 May 2019 01:24:39 +0000 Message-ID: References: <6eb060d0-545b-4c7d-f6c6-a40772dda74f AT gmail DOT com> <94231473-d378-952e-a450-d0323e3906dd AT cs DOT umass DOT edu> ,<9f039049-77bd-1b62-9e6c-9d33740ccc70 AT cornell DOT edu>, In-Reply-To: x-ms-exchange-purlcount: 5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x4J1OvsY025555 How do I uninstall the installation that I created with the building of gcc6? I did a search on duckduckgo for, cygwin how to uninstall gcc after building it and found nothing that could help me. Right now I have two installs of gcc: v7.4.and v6.4.0. e608313 AT HOR711318E ~/gcc/gcc-6.4.0 $ which gcc​ /usr/local/bin/gcc​ ​ e608313 AT HOR711318E ~/gcc/gcc-6.4.0​ $ /usr/bin/gcc --version​ gcc (GCC) 7.4.0​ Copyright (C) 2017 Free Software Foundation, Inc.​ This is free software; see the source for copying conditions. There is NO​ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.​ ​ ​ e608313 AT HOR711318E ~/gcc/gcc-6.4.0​ $ gcc --version​ gcc (GCC) 6.4.0​ Copyright (C) 2017 Free Software Foundation, Inc.​ This is free software; see the source for copying conditions. There is NO​ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.​ ​ How can I have just v7.4.0? I tried searching around and nothing. Any help would be greatly appreciated. I know I can delete the folder and start all over, but I prefer to keep this one as it was. Or do you think that I should start from scratch? Thanks. josé ________________________________ From: cygwin-owner AT cygwin DOT com on behalf of Jose Isaias Cabrera Sent: Saturday, May 18, 2019 07:15 PM To: Ken Brown; cygwin AT cygwin DOT com Subject: Re: How to install gcc and g++ 6 on cygwin which are not on the setup.exe Ken Brown, on Saturday, May 18, 2019 11:54 AM, wrote... >On 5/18/2019 8:19 AM, Jose Isaias Cabrera wrote: > > I am finished and now to start building Bedrockdb. Thanks. > > By the way, you're not the only person building Bedrockdb on Cygwin. Someone > has posted about 10 fixes in the last few days: > > https://github.com/Expensify/Bedrock/issues > > It looks like this person is porting the source code to gcc-7.4.0. Thanks, Ken. Maybe I should go back to my original plan to build with gcc-7.4.0. These are all the errors that I am getting with gcc 6.4.0, which I just took two days to build: e608313 AT HOR711318E ~/Bedrock $ CC=gcc GXX=g++ make g++ -g -std=c++14 -fpic -O2 -Wall -Werror -Wformat-security -DGIT_REVISION=ce62c88 -I/home/e608313/Bedrock -I/home/e608313/Bedrock/mbedtls/include -MMD -MF libstuff/libstuff.d -MT libstuff/libstuff.h.gch -c libstuff/libstuff.h libstuff/libstuff.h:424:17: error: ‘recursive_mutex’ does not name a type mutable recursive_mutex m; ^~~~~~~~~~~~~~~ libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic >::operator=(std::__cxx11::string)’: libstuff/libstuff.h:399:23: error: ‘m’ was not declared in this scope SAUTOLOCK(m); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:399:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable] #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:399:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h: In member function ‘void std::atomic >::store(std::__cxx11::string, std::memory_order)’: libstuff/libstuff.h:407:23: error: ‘m’ was not declared in this scope SAUTOLOCK(m); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:407:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable] #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:407:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic >::load(std::memory_order) const’: libstuff/libstuff.h:411:23: error: ‘m’ was not declared in this scope SAUTOLOCK(m); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:411:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable] #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:411:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic >::exchange(std::__cxx11::string, std::memory_order)’: libstuff/libstuff.h:416:23: error: ‘m’ was not declared in this scope SAUTOLOCK(m); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:416:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable] #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/libstuff.h:416:13: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(m); ^~~~~~~~~ libstuff/libstuff.h: In function ‘bool SIEquals(const string&, const string&)’: libstuff/libstuff.h:479:105: error: ‘strcasecmp’ was not declared in this scope inline bool SIEquals(const string& lhs, const string& rhs) { return !strcasecmp(lhs.c_str(), rhs.c_str()); } ^ In file included from libstuff/libstuff.h:858:0: libstuff/STCPManager.h: At global scope: libstuff/STCPManager.h:39:9: error: ‘recursive_mutex’ does not name a type recursive_mutex sendRecvMutex; ^~~~~~~~~~~~~~~ libstuff/STCPManager.h:63:67: error: ‘recursive_mutex’ has not been declared Socket* openSocket(const string& host, SX509* x509 = nullptr, recursive_mutex* listMutexPtr = nullptr); ^~~~~~~~~~~~~~~ In file included from libstuff/libstuff.h:859:0: libstuff/STCPServer.h:40:5: error: ‘mutex’ does not name a type mutex portListMutex; ^~~~~ In file included from libstuff/libstuff.h:860:0: libstuff/STCPNode.h:64:9: error: ‘recursive_mutex’ does not name a type recursive_mutex socketMutex; ^~~~~~~~~~~~~~~ In file included from libstuff/libstuff.h:861:0: libstuff/SHTTPSManager.h:61:5: error: ‘recursive_mutex’ does not name a type recursive_mutex _listMutex; ^~~~~~~~~~~~~~~ In file included from libstuff/libstuff.h:864:0: libstuff/SRandom.h:7:27: error: ‘uint’ has not been declared static string randStr(uint& length); ^~~~ In file included from libstuff/libstuff.h:867:0: libstuff/SSynchronizedQueue.h:39:13: error: ‘recursive_mutex’ does not name a type mutable recursive_mutex _queueMutex; ^~~~~~~~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘bool SSynchronizedQueue::empty() const’: libstuff/SSynchronizedQueue.h:83:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:83:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘virtual const T& SSynchronizedQueue::front() const’: libstuff/SSynchronizedQueue.h:89:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:89:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘virtual T SSynchronizedQueue::pop()’: libstuff/SSynchronizedQueue.h:98:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:98:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘virtual void SSynchronizedQueue::push(T&&)’: libstuff/SSynchronizedQueue.h:109:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:109:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘size_t SSynchronizedQueue::size() const’: libstuff/SSynchronizedQueue.h:120:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:120:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ libstuff/SSynchronizedQueue.h: In member function ‘void SSynchronizedQueue::each(std::function)’: libstuff/SSynchronizedQueue.h:126:15: error: ‘_queueMutex’ was not declared in this scope SAUTOLOCK(_queueMutex); ^ libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’ #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^~~~~~~ libstuff/libstuff.h:388:56: error: template argument 1 is invalid #define SAUTOLOCK(_MUTEX_) lock_guard __SAUTOLOCK_##__LINE__(_MUTEX_); ^ libstuff/SSynchronizedQueue.h:126:5: note: in expansion of macro ‘SAUTOLOCK’ SAUTOLOCK(_queueMutex); ^~~~~~~~~ cc1plus: all warnings being treated as errors make: *** No rule to make target 'libstuff/libstuff.d', needed by '.build/libstuff/libstuff.d'. Stop. -- 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 -- 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