[klibc] [PATCH] make DEBUG=true
H. Peter Anvin
hpa at zytor.com
Thu Feb 10 12:01:45 PST 2005
Olaf Hering wrote:
> udev knows about DEBUG=true and builds a debug binary. Maybe klibc
> should do the same?
> Was there a reason for -g in the i386 MCONFIG?
Yes, for i386 you can strip off all debugging information, so by
compiling with -g and then stripping we get debugging and nondebugging
binaries. That's not true for all architectures, in particular, it's
not true for x86-64 or any other architecture that expects glibc to use
libunwind (klibc doesn't, for obvious reasons.)
I really dislike DEBUG=true though, since FOO=1 (or occationally FOO=y)
seems to be the more common idiom.
-hpa
More information about the klibc
mailing list