
6 Jun
2008
6 Jun
'08
8:07 a.m.
I need help with debugging u-boot. If I comple u-Boot without -Os optimization, I get bunch of errors about missing functions.
gcc docs say: GCC does not inline any functions when not optimizing unless you specify the `always_inline' attribute for the function, like this: [...]
I'm sorry you can't strip the "-Os", and you should debug the final binary, despite all the reordering that takes place.
/alessandro