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  <20132014  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  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: using the EPICS build system with an IDE
From: "Hill, Jeff" <[email protected]>
To: "Tech Talk ([email protected])" <[email protected]>
Date: Tue, 14 May 2013 18:09:11 +0000
Hi All,

I have noticed over the years that the EPICS build system isn't particularly helpful when using an IDE because it doesn't generate full source file paths on the compiler command line, and instead subdirectory dependent relative paths are used. This seems to cause gcc to produce also relative source file paths in its compiler messages which can interfere with clicking on the error message and vectoring the focus to the appropriate source file in the IDE. It seems that gcc could easily provide an option to force generation of full (not relative) source file paths in its output no matter what the format is of its input file paths might be, but AFAIKT, it doesn't.

However, maybe this post suggests a solution that could be applied generically within the internals of the EPICS build system to produce full path names in the compilers input while continuing to navigate the build system with relative paths.

http://gcc.gnu.org/ml/gcc-help/2008-03/msg00084.html

This would result in rather more verbose build message output, but would improve productivity when using an IDE from my perspective. I suppose that we might also provide a configure option which determines the type of compiler file path output that gets generated depending on a particular user's needs, if that was important.

Comments?

Jeff


Replies:
RE: using the EPICS build system with an IDE Hill, Jeff

Navigate by Date:
Prev: Re: Linux Multi-Core Utilities 1.2 Released Till Straumann
Next: RE: using the EPICS build system with an IDE Hill, Jeff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Linux Multi-Core Utilities 1.2 Released Till Straumann
Next: RE: using the EPICS build system with an IDE Hill, Jeff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·