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: Re: how to configure compiler version
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: timesir <mrlong336 at gmail.com>, epics community <tech-talk at aps.anl.gov>
Date: Wed, 13 Sep 2023 10:57:30 -0500
On 9/13/23 10:43 AM, Soliday, Robert T. via Tech-talk wrote:
I set the version in configure/CONFIG

CC=/usr/local/gcc-11.3.0/bin/gcc
CCC=/usr/local/gcc-11.3.0/bin/g++
AR=/usr/local/gcc-11.3.0/bin/gcc-ar -rc
CPP = /usr/local/gcc-11.3.0/bin/gcc -x c -E
RANLIB=/usr/local/gcc-11.3.0/bin/gcc-ranlib
That would work (if you put those at the end of the file) as long as you are only building for the host architecture. If you will need to be able to cross-build for IOCs of other architectures and/or operating systems the settings for your particular host target should be added to the file configure/os/CONFIG_SITE.Common.<host-arch> or configure/os/CONFIG_SITE.<host-arch>.<host-arch> where <host-arch> would be linux-x86_64 for 64-bit Linux on Intel or amd64 hosts. Configuring builds for any cross architectures is more complicated.

- Andrew

-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of timesir via Tech-talk
Sent: Wednesday, September 13, 2023 10:38 AM
To: epics community <tech-talk at aps.anl.gov>
Subject: how to configure compiler version

Dear all,

  If there are three versions of gcc installed on the OS, how should I
set up epics to use a particular version of gcc. Right now I find that
/usr/bin/gcc is always used.

-- 
Complexity comes for free, Simplicity you have to work for.

Replies:
Re: how to configure compiler version timesir via Tech-talk
References:
how to configure compiler version timesir via Tech-talk
RE: how to configure compiler version Soliday, Robert T. via Tech-talk

Navigate by Date:
Prev: RE: how to configure compiler version Soliday, Robert T. via Tech-talk
Next: Re: how to configure compiler version timesir 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: how to configure compiler version Soliday, Robert T. via Tech-talk
Next: Re: how to configure compiler version timesir 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, 13 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·