EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: changing compiler versions
From: Pierrick M Hanlet via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 7 Jul 2023 19:12:56 +0000
Greetings all,
I'd like to build our EPICS software (starting on an Alma Linux 9 platform) for
C++17 or even C++20.  I'm presently building with C++11 by adding
-std=c++11 to the USR_CXXFLAGS in  configure/CONFIG_COMMON.  However,
when I tried c++20/c++17/c++14 and it failed in every case with:
  • g++: error: unrecognized command line option ‘-std=c++20’
somewhere in the middle of building libcom - after the compilation call to
resourceLib.

A colleague of mine played with the configure/CONFIG.gnuCommon and
had a different level of success and failure.

Any help, even pointing me to the correct documentation would be
greatly appreciated.
Cheers,
Pierrick


-- 
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile

"Whether you think you can or think you can't, you're right" -- Henry Ford

Replies:
Re: changing compiler versions Michael Davidsaver via Tech-talk
Re: External: changing compiler versions Niko Kivel via Tech-talk

Navigate by Date:
Prev: Re: Sequencer usage/Is sequencer repo still down? Michael Davidsaver via Tech-talk
Next: Re: changing compiler versions Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Macro max size is 256 Andrew Johnson via Tech-talk
Next: Re: changing compiler versions Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 07 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·