how to add debugger option to the build script
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Sep 2 14:24:42 UTC 2014
On 9/2/2014 4:12 AM, Chan Kim wrote:
> Hi,
> Is there any option for build-rtems.sh by which I can add '-g'(debugger) to CFLAGS in the result Makefile?
> (I run '../build-rtems.sh' under build-rtems directory. The --enable_rtems_debug is for enabling RTEMS_DEBUG macro in the sources.
> I want -g option to be added for gcc so that I can use debugger.)
Where did this script come from? It doesn't ring a bell and I don't see it
in my working tree.
What BSP are you building?
Most BSPs have -g on by default since it doesn't impact code generation.
It is in the CFLAGS settings specified in
c/src/lib/libbsp/CPU/BSP/make/custom/BSP.cfg
> Any suggestion will be appreciated.
> Chan Kim
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list