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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EPICS Build without '-ansi'
From: Rod Nussbaumer <[email protected]>
To: [email protected]
Date: Wed, 04 Feb 2009 18:15:17 -0800
Greetings.

I have some C code written elsewhere that I want to compile with the EPICS build system. The code has quite a bit of C++-style commenting in it, and gcc bails with complaints about such commnts, as the standard gcc commandline in EPICS includes the '-ansi' option. Is there any way to remove the -ansi option for this project only? I don't want to modify files in base/configure, as these would affect all builds done against that EPICS release. I do want to create a proper configuration so that future builds of this software will have the proper flags applied.
My build environment is linux-x86 with EPICS 3.14.8.2 &/or 3.14.10.

Thanks.

Rod Nussbaumer
ISAC Controls, TRIUMF
Vancouver, BC


Replies:
Re: EPICS Build without '-ansi' Michael Abbott

Navigate by Date:
Prev: Re: geeting error while installing base via cygwin Pete Jemian
Next: Re: EPICS Build without '-ansi' Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: geeting error while installing base via cygwin Pete Jemian
Next: Re: EPICS Build without '-ansi' Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·