Re: Detecting kfreebsd kernel while compiling
Joachim Wiedorn dixit:
>> And ‘__GLIBC__’, which is what most applications really want to know.
>Which systems use this string
All user-space executables, shared objects, etc. that will,
eventually, be linked with glibc or eglibc, use it.
>or from the other side: which systems
>don't use this string?
All others (µClibc, dietlibc, BSD libc, Bionic, ...) don't.
bye,
//mirabilos
--
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font. -- Rob Pike in "Notes on Programming in C"
Reply to: