I think you need gcc 4.8.1 at least. It is possible to build gcc from source. https://gcc.gnu.org/wiki/InstallingGCC I've built 4.9 on SL6 boxes. It takes long time, though.
Jeff On Thu, Jun 26, 2014 at 12:14 AM, ToddAndMargo <toddandma...@zoho.com> 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! > > Thank you for helping me with this, > > -T > -- -------------------------------------------------------------- Jeffrey Anderson | jdander...@lbl.gov Lawrence Berkeley National Laboratory | Office: 50A-5104E | Mailstop 50A-5101 Phone: 510 486-4208 | Fax: 510 486-4204