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
<2008>
2009
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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|