On Tue, Nov 12, 2013 at 8:21 PM, Sidney Marshall <sidneym@xxxxxxxxxxxxxxx> wrote: > I would like to have gcc or g++ default to the current standard for 4.8.2. > The compiler option -dumpspecs gives (in part): > > *cc1: > *cc1_options: > *cc1plus: > The cc1plus is empty so I added: > > %{!std*:-std=c++11} > > and this seems to work for g++ but I am confused as to which cc1 entry to > modify and where to modify it. Which cc1 entry should I modify and where > should I modify it? It doesn't really matter, because cc1 doesn't care what order options appear in. Either one should work. > Also, out of curiosity - when will the -std=c++11 be the default? Never. But you probably mean to ask when -std=gnu++11 will be the default. I don't know the answer to that, sorry. Ian