[geos-devel] [GEOS] #914: cmake compile under mingw64 gcc 8.1
GEOS
geos-trac at osgeo.org
Fri Aug 17 19:29:47 PDT 2018
#914: cmake compile under mingw64 gcc 8.1
-----------------------------------+---------------------------
Reporter: robe | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.7.0
Component: Build/Install (cmake) | Version: master
Severity: Significant | Resolution:
Keywords: mingw64 gcc 8.1 |
-----------------------------------+---------------------------
Comment (by cvvergara):
I have a master slave relationship between gcc and g++
Maybe gcc version 8 is not installed
this is the script I use when I change linux version
{{{
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y &&
\
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-snapshot -y
sudo apt-get update && \
sudo apt-get install gcc-4.8 g++-4.8 -y && \
sudo apt-get install gcc-4.9 g++-4.9 -y && \
sudo apt-get install gcc-5 g++-5 -y && \
sudo apt-get install gcc-6 g++-6 -y && \
sudo apt-get install gcc-7 g++-7 -y && \
sudo apt-get install gcc-8 g++-8 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8
60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9
60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5
60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6
60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7
60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8
60 --slave /usr/bin/g++ g++ /usr/bin/g++-8;
}}}
{{{
sudo update-alternatives --config gcc
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/914#comment:8>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list