LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2019, 03:56 PM   #1
nirvaanr
LQ Newbie
 
Registered: Jun 2016
Distribution: Debian 10
Posts: 26

Rep: Reputation: Disabled
gcc g++ on cygwin - configure: error: *** A compiler with support for C++11 language features is required


Hi,

Apologies if I posted in wrong section as it is related to gcc on cygwin. Please move it to appropriate section.


I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0.

Quote:
$ 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.
Quote:
$ 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.
when I run ./configure, I get this:

Quote:
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.
I couldn't fully understand what does configure.log says here but it seems compiler admits that it is not ready for C++11?
i copied entire log to pastebin.com/x083cQLD

Basically hwo could i make gcc 8.3.0 ready/compatible for C++11?

Please advise, thanks
 
Old 07-01-2019, 08:40 AM   #2
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I'm not familiar with using cygwin, but I've been using TDM GCC for several years, starting with GCC 4.8 and now using 5.1. Both support C++11.

You might need to use some cli arguments. Use ./configure --help for options

Something that might be worth looking at is --with-default-libstdcxx-abi=gcc4-compatible gcc 4 might not support c++11, I think c++11 was implemented in 4.8.
 
1 members found this post helpful.
  


Reply

Tags
libsigc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: could not find a working compiler, see config.log for details error while building gmp in cygwin seetha_eg Linux - Software 5 03-30-2020 08:10 AM
i have ubuntu 16.04 and gcc 5.1.3 default compiler but i need want gcc 4.4 compiler srinivas_k Linux - Newbie 4 07-06-2016 10:29 AM
Got configure: error: "compiler support for __thread is required" rbharath Linux - General 0 10-17-2008 02:30 AM
glibc 2.3.6 - configure: error: compiler support for __thread is required egghead Linux - General 0 02-26-2006 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration