delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=sCGZ/FXkcnU6shIS | |
eAIr5y5s1ig1gBmlayEVBgunCT9FXfY3wwKPQ6pCeIh533SE05T559dcyCfS7kGY | |
jSlrSueemMR6Pyb2aElyza+9xrkVgsa0BEu6PxjPgUsCi7odeMcaliyetTSSzbLp | |
OoPQjGg3MSfYzTiNR+S1ylkxqzo= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=fDh24nkd4ql5H2W/fa7Cs4 | |
tm12k=; b=L8VmyQNtZ6Zb4+2JXBok9cBqXU85tEy6s4q3N6ZsX7VDz6a6OK/uKo | |
vQzQq5dRjU4ORTGZG4CgdUTL+PBfJHK9XHDSbBjjaDJIDeLtJNKrEtsDVtO5079H | |
f5vIr3mJ/Aix1xr9S/YPN6/eMsh4GSCom+evACgBpb6TJgnH7VOag= | |
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-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=Scott, scott, HX-Languages-Length:2102 |
X-HELO: | mail-wr1-f42.google.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=pss803ZDKqp06nqCSTgaBkSUj/zdNqsk9RXKyHhugoA=; b=a4ODH5soBVSJpXdtSiG+MHmBRpjgvtnfkhthtw5eCUzlYDP3NwSstYjBQBn7kHNEQX hZ9RG7nr7JdNy+KouC7p10Hb508+X+GDTt3pprHeNO6BtnzaFdK7iXjXL8UVKiSkKkts GzbTxnWBFuO5kJ8C0akgOpOmnd0OjGYVfb1OxFvArkXX/+Ly/oHTcgqpN/H4kQnfCGUL 87TKX7h+JbqYD7IhDDBGPEVxcq+qLbBFCcCxoP/dqo3gvvDd6G7/vbU2xhA/0IgEazMH ezPqKhKAn4tBTTdKfj3QtQ4Yz4CJXn4ggyDSzsKX4g1H5AgApHFiHzT6NWpnvcqhppTO n7PA== |
Subject: | Re: Building Bedrockdb in cygwin |
To: | cygwin AT cygwin DOT com |
References: | <DB7PR01MB5386089B8B65F0DACA92F09FDE0F0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangel abs.com> <2B56GKHZ DOT RA34LFTQ DOT YAKAGWCC AT ZSAAQYFV DOT QHFNCGMV DOT ICZDFG7V> <DB7PR01MB5386310985F49E6AB14B10F5DE0F0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <054f8269-d9d8-290a-9b60-0139ce33f4a0 AT SystematicSw DOT ab DOT ca> <DB7PR01MB5386CAE6AEE09B1559E7C867DE080 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <ef300eee-b752-7f77-92f6-12eeb3803327 AT SystematicSw DOT ab DOT ca> <DB7PR01MB53868CD0F44A4C1631625DE8DE080 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <DB7PR01MB53860C5864E27ED6D90AC6F9DE080 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> |
From: | =?UTF-8?Q?Csaba_R=c3=a1duly?= <rcsaba AT gmail DOT com> |
Message-ID: | <fd99afdd-2c4e-b6fb-3f33-b1fc1996f130@gmail.com> |
Date: | Wed, 15 May 2019 00:17:02 +0200 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <DB7PR01MB53860C5864E27ED6D90AC6F9DE080@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> |
On 14/05/2019 19:11, Jose Isaias Cabrera wrote: (snip) > However, having jumped that huddle, I encountered a new one, which is probably easier to deal with. The make command does a lot of work, but once it's going to start compiling, I get, > > [good stuff clipped] > CC util/pem2der.c > CC util/strerror.c > CC x509/cert_app.c > CC x509/crl_app.c > CC x509/cert_req.c > CC x509/cert_write.c > CC x509/req_app.c > make[2]: Leaving directory '/home/e608313/Bedrock/mbedtls/programs' > make[1]: Leaving directory '/home/e608313/Bedrock/mbedtls' > g++-6 -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 > make: g++-6: Command not found > make: *** No rule to make target 'libstuff/libstuff.d', needed by '.build/libstuff/libstuff.d'. Stop. > > So, it appears that I need something called g++-6. I have both gcc and g++ > > $ ls /usr/bin/g++* > /usr/bin/g++.exe* > > So, the question is, what is g++-6, and how to I get it? I tried to find it with cygwin's setup, but it's not on the distro. I tried to duckduckgo it, but I didn't get anything useful. Thoughts? Thanks g++-6 is version 6 of the C++ compiler in the GNU Compiler Collection. Cygwin's gcc and g++ is version 7.4.0: $ g++.exe -dumpversion 7.4.0 Bedrockdb's makefile begins with: # Set the compiler, if it's not set by the environment. ifndef GXX GXX = g++-6 endif ifndef CC CC = gcc-6 endif so the C++ compiler (GXX) is set to g++-6 unless GXX is set explicitly. You need to run make like this: CC=gcc GXX=g++ make <whatever arguments you gave to make, if any> This will force make to use g++ instead of g++-6 Hope this helps, Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformat way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK) -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |