How to install gcc and g++ 6 on cygwin which are not on the setup.exe
Jose Isaias Cabrera
jicman@outlook.com
Sun May 19 01:24:00 GMT 2019
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@HOR711318E ~/gcc/gcc-6.4.0
$ which gccâ
/usr/local/bin/gccâ
â
e608313@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@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@cygwin.com <cygwin-owner@cygwin.com> on behalf of Jose Isaias Cabrera <jicman@outlook.com>
Sent: Saturday, May 18, 2019 07:15 PM
To: Ken Brown; cygwin@cygwin.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@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<std::__cxx11::basic_string<char> >::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<decltype(_MUTEX_)> __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<std::__cxx11::basic_string<char> >::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<decltype(_MUTEX_)> __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<std::__cxx11::basic_string<char> >::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<decltype(_MUTEX_)> __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<std::__cxx11::basic_string<char> >::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<decltype(_MUTEX_)> __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<T>::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<T>::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<T>::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<T>::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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<T>::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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:120:5: note: in expansion of macro âSAUTOLOCKâ
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function âvoid SSynchronizedQueue<T>::each(std::function<void(T&)>)â:
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<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __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
BKCBØ[H\ÜÎËØÞYÝÚ[ÛÛKÜØ[\Ë[BTNËØÞYÝÚ[ÛÛKÙ\KÃBØÝ[Y[][ÛËØÞYÝÚ[ÛÛKÙØÜË[B[ÝXØÜXH[ÎËØÞYÝÚ[ÛÛKÛ[ÈÝ[ÝXØÜXK\Ú[\CBB
More information about the Cygwin
mailing list