Hi all! On Wed, Apr 4, 2012 at 5:57 AM, Warren Young wrote: > On 4/3/2012 7:35 PM, Andrey Repin wrote: >> >> >> what is the standard way of detecting OS type? >> uname -o >> ? > > > The wise try not to do that at all. > > Instead, take in a little wisdom from the people who created autoconf, a > piece of software that's been uncommonly successful[*] by FOSS standards: > don't test for platforms, test for features. > (snip)
May I suggest a gold star for this explanation ? Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple