Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Jun 2014 13:42:32 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 06/26/2014 03:15 AM, Dr Andrew C Aitchison wrote:
> On Thu, 26 Jun 2014, ToddAndMargo wrote:
>
>> On 06/25/2014 10:17 PM, Peter Elmer wrote:
>>> Hi,
>>>
>>> On Wed, Jun 25, 2014 at 10:03:54PM -0700, ToddAndMargo wrote:
>>>> rpmbuild --rebuild librecad-2.0.4-1.fc20.src.rpm
>>>> ...
>>>> cc1plus: error: unrecognized command line option
>>>> "-std=c++11"cc1plus: error: unrecognized command line option
>>>> "-std=c++11"
>>>
>>> It means that you are rebuilding a package with a compiler version
>>> which is too old to support the -std=c++11 flag. (IIRC, it was
>>> -std=c++0x
>>> for a long time in gcc. I don't recall which gcc version added the new
>>> flag, but almost certainly it was later than gcc4.4, for example.) I
>>> guess
>>> you are backporting this package?
>>>
>>> Pete
>>
>> Hi Pete,
>>
>> Ye old out-of-date strikes again. Probably will have
>> to wait for SL7. Rats!
>
> devtoolset-1.1 has g++ (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5)
> which accepts -std=c++11
> devtoolset-2.1 (which has g++ 4.8.?) is also available;
> IIRC you may need go through devtoolset-2.0 if upgrading from 1.1 to 2.1.
>
> http://ftp.scientificlinux.org/linux/scientific/6rolling/x86_64/external_products/devtoolset/
>
>
> These use scl and are designed to be installed *alongside* the
> default gcc4.4
>
I now have the deltoolset installed, but still have the error.
What am I missing?
|
|
|