lkml.org 
[lkml]   [2005]   [Sep]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromKyle Moffett <>
SubjectRe: Kernel ABI headers step #1: Gathering information
DateTue, 13 Sep 2005 02:40:24 -0400
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-13 06:43    [from the cache]
©2003-2008