Re: Debugging symbols by default
От
Peter Eisentraut
Тема
Re: Debugging symbols by default
Дата
Msg-id
Pine.LNX.4.30.0204070026150.683-100000@peter.localdomain
Ответ на
Debugging symbols by default (Peter Eisentraut)
Список
Дерево обсуждения
Debugging symbols by default Peter Eisentraut <peter_e@gmx.net>
Re: Debugging symbols by default Larry Rosenman <ler@lerctr.org>
Re: Debugging symbols by default Peter Eisentraut <peter_e@gmx.net>
Re: Debugging symbols by default Peter Eisentraut <peter_e@gmx.net>
Re: Debugging symbols by default Bruce Momjian <pgman@candle.pha.pa.us>
Re: Debugging symbols by default Peter Eisentraut <peter_e@gmx.net>
> 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. A tricky questions is what to do with the --enable-debug option. For GCC it would become --disable-debug (i.e., remove -g from CFLAGS), but I'm not sure we'd need that if we provide 'make install-strip'. For other compilers, it's anyone's guess. We could continue to provide --enable-debug to add -g to CFLAGS. Some commerical vendors' compilers actually support various combinations of debugging and optimizing these days, but with different flags. So if you really try to build with debugging support on those platforms you'd probably want to supply the CFLAGS yourself. I suppose one of the less confusing choices would be to not have that option. Setting CFLAGS yourself is even less typing on average. -- Peter Eisentraut peter_e@gmx.net
В списке pgsql-hackers по дате отправления