embeddedartistry / libc

libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
MIT License
510 stars 67 forks source link

Should we use -g3 when building the project in debug mode? #128

Closed phillipjohnston closed 2 years ago

phillipjohnston commented 4 years ago

As the title states. -g vs -g3: do we need it?

phillipjohnston commented 2 years ago

Default -g is -g2, so we are good. g3 can be enabled if support for debugging macros is needed.