Debugging symbols by default
От | Peter Eisentraut |
---|---|
Тема | Debugging symbols by default |
Дата | |
Msg-id | Pine.LNX.4.30.0204051717090.698-100000@peter.localdomain обсуждение исходный текст |
Ответы |
Re: Debugging symbols by default
Re: Debugging symbols by default |
Список | pgsql-hackers |
We had discussed a while ago that it might be a good idea to compile with debugging symbols by default, at least when using GCC. Personally, I think that that would be a good idea, for users and developers alike. If we go with that, I'd like to implement a new target 'install-strip' that strips the binaries while they are installed, as a compensation if you will. (It strips the libraries in intelligent ways, too.) This could be a win-win situation. Developers don't need to type --enable-debug all the time, users don't need to recompile when we ask them to trace a bug, and if you're pressed for disk space then 'install-strip' will save you even more space than simply omitting debugging symbols. (Or you can keep the unstripped binaries around elsewhere for debugging -- the possibilities are endless ;-) ) Comments? -- Peter Eisentraut peter_e@gmx.net
В списке pgsql-hackers по дате отправления: