2 # This script has been placed in the public domain by its author, John Kane.
\r
3 # This file is part of MSYS
\r
4 # http://www.mingw.org/msys.shtml
\r
7 echo 'msysinfo-1.3: Send this to the MSYS support list:'
\r
8 echo ; echo 'MSYS '$(uname -rvmp)"; targ="$(uname -s|cut -d_ -f1)
\r
9 echo $(sh --version | grep -i '[0-9]\.[0-9]')"; ENV=${ENV:-.profile}"
\r
10 echo -n $(make --version | grep -i '[0-9]\.[0-9]' | cut -db -f1)""
\r
11 echo $(make --version | grep -i 'Built')"; MAKE_MODE=$MAKE_MODE"
\r
12 echo $(gcc --version | grep -i '[0-9]\.[0-9]')"; targ="$(uname -s|cut -d_ -f1)
\r
13 ld --version | grep -i '[0-9]\.[0-9]'
\r
14 ls -o --full-time /bin/msys*.dll | cut -c 25-
\r
15 ls -o --full-time $(type -p make).exe | cut -c 25-
\r
16 ls -o --full-time $(type -p gcc).exe | cut -c 25-
\r
17 ls -o --full-time $(type -p ld).exe | cut -c 25-
\r
19 echo "Sysname=$(uname --sysname) OSTYPE=$OSTYPE TERM=$TERM"
\r
20 echo "PATH=$PATH" | fold -w 64 ; echo "$ ls -tx $PWD" ; ls -tAxFw64
\r
21 if [ "$1" = "all" ] || [ "$1" = "long" ] ; then
\r
22 echo ; md5sum -b /bin/msys*.dll ; md5sum -b $(type -p make).exe
\r
23 md5sum -b $(type -p gcc).exe ; md5sum -b $(type -p ld).exe
\r
24 echo ; echo "In /etc/fstab:" ; cat /etc/fstab | grep '/'
\r
25 echo ; echo "In /etc/profile:" ; cat /etc/profile | grep -i 'export'
\r
26 echo ; grep -a '%%%' /bin/msys*.dll
\r
27 echo ; set | fold -sw 64
\r
28 echo ; echo '$ msysinfo all >msysinfo.txt will save this to a file'
\r