Re: Kernel ABI headers step #1: Gathering information

From: Kyle Moffett
Date: Tue Sep 13 2005 - 01:41:09 EST


The script I posted contained a semi-bug such that if someone didn't capture
standard error, they would be missing the GCC version in the log. Here's a
fixed version (Thanks to Keith Owens for pointing this out!)

Cheers,
Kyle Moffett

--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
-- Brian Kernighan


#! /bin/sh
echo "Linux kernel version:"
uname -a
echo
echo
echo "GCC version:"
gcc -v 2>&1
echo
echo
echo "GCC predefined macros:"
echo | gcc -E - -dM | sort


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/