Re: Makefile.inc Issues

2020-12-02 Thread Chris Johns
On 3/12/20 12:42 pm, Chris Johns wrote: > Something must be wrong as ... > > https://git.rtems.org/rtems-examples/tree/wscript#n36 > > ... adds `-g`. Maybe doing this is not working. > Oh sorry this is Makefile.inc. I would add the flags you want ... CFLAGS += -g Chris ___

Re: Makefile.inc Issues

2020-12-02 Thread Chris Johns
On 3/12/20 12:07 pm, Joel Sherrill wrote: > I know a number of the flags were removed from the CFLAGS installed but we > lost > -g which makes debugging impossible.  > > I understand dropping the warning flags but I question dropping the > recommended > optimization and -g. I consider the expor

Makefile.inc Issues

2020-12-02 Thread Joel Sherrill
Hi I know a number of the flags were removed from the CFLAGS installed but we lost -g which makes debugging impossible. I understand dropping the warning flags but I question dropping the recommended optimization and -g. This came up debugging the rtems-examples. --joel