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

Subject: Re: Building system with Debug
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 19 Nov 2008 17:13:33 -0600
On Tuesday 18 November 2008 11:34:10 David Dudley wrote:
> Is there a predefined method of generating a system that contains 'debug'
> labels and source line references?

For R3.14.10 Janet added -debug versions of many of the target architectures, 
so for example you can cross-build the linux-x86-debug target on a linux-x86 
host and you'll be able to run either the regular or the debug version of 
your code.  Alternatively set your EPICS_HOST_ARCH to linux-x86-debug and 
just build and use that normally.

> I see in the configure files that there is a variable called
> 'OPT_CFLAGS_YES' and 'OPT_CFLAGS_NO", but don't see any way to use them.

The variables HOST_OPT and CROSS_OPT control which one gets used; set them to 
YES or NO in your configure/CONFIG_SITE or configure/os/CONFIG_SITE.*.* files 
as appropriate.

HTH,

- Andrew
-- 
Talk is cheap. Show me the code. -- Linus Torvalds

References:
Building system with Debug David Dudley

Navigate by Date:
Prev: Re: USE of CA lib: problem using ca_array_put_callback with strings Andrew Johnson
Next: Re: caPutLogging Documentation Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building system with Debug David Dudley
Next: priority callback tasks Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·