gcc g++ - 구성: 오류: *** C++11 언어 기능을 지원하는 컴파일러가 필요합니다.

gcc g++ - 구성: 오류: *** C++11 언어 기능을 지원하는 컴파일러가 필요합니다.

gcc 8.3.0을 사용하여 cygwin에서 libsigc++-2.10.2를 컴파일하고 빌드하려고 합니다.

$ gcc --version
gcc (GCC) 8.3.0
Copyright (C) 2018 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.

$ g++ --version
g++ (GCC) 8.3.0
Copyright (C) 2018 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.

./configure를 실행하면 다음을 얻습니다.

checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with +std=c++11... no
checking whether g++ supports C++11 features with -h std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
checking whether g++ supports C++11 features with +std=c++0x... no
checking whether g++ supports C++11 features with -h std=c++0x... no
configure: error: *** A compiler with support for C++11 language features is required.

autogen.sh를 실행하려고 하면 다음이 발생합니다.

configure.ac:28: installing 'build/missing'
Makefile.am:20: error: ENABLE_DOCUMENTATION does not appear in AM_CONDITIONAL
build/doc-reference.am:64: error: DIST_DOCTOOLS does not appear in AM_CONDITIONAL
docs/Makefile.am:32:   'build/doc-reference.am' included from here
build/doc-reference.am:70: error: ENABLE_DOCUMENTATION does not appear in AM_CONDITIONAL
docs/Makefile.am:32:   'build/doc-reference.am' included from here
examples/Makefile.am: installing 'build/depcomp'
autoreconf-2.69: automake failed with exit status: 1

조언해주세요, 감사합니다! !

관련 정보