Re: Kernel ABI headers step #1: Gathering information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux