Last change
on this file since 1063 was 1046, checked in by alloc, 8 years ago |
Daodan: Added Windows MinGW and build batch file
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | # This script has been placed in the public domain by its author, John Kane.
|
---|
3 | # This file is part of MSYS
|
---|
4 | # http://www.mingw.org/msys.shtml
|
---|
5 | # File: msysinfo
|
---|
6 |
|
---|
7 | echo 'msysinfo-1.3: Send this to the MSYS support list:'
|
---|
8 | echo ; echo 'MSYS '$(uname -rvmp)"; targ="$(uname -s|cut -d_ -f1)
|
---|
9 | echo $(sh --version | grep -i '[0-9]\.[0-9]')"; ENV=${ENV:-.profile}"
|
---|
10 | echo -n $(make --version | grep -i '[0-9]\.[0-9]' | cut -db -f1)""
|
---|
11 | echo $(make --version | grep -i 'Built')"; MAKE_MODE=$MAKE_MODE"
|
---|
12 | echo $(gcc --version | grep -i '[0-9]\.[0-9]')"; targ="$(uname -s|cut -d_ -f1)
|
---|
13 | ld --version | grep -i '[0-9]\.[0-9]'
|
---|
14 | ls -o --full-time /bin/msys*.dll | cut -c 25-
|
---|
15 | ls -o --full-time $(type -p make).exe | cut -c 25-
|
---|
16 | ls -o --full-time $(type -p gcc).exe | cut -c 25-
|
---|
17 | ls -o --full-time $(type -p ld).exe | cut -c 25-
|
---|
18 | echo "HOME=$HOME"
|
---|
19 | echo "Sysname=$(uname --sysname) OSTYPE=$OSTYPE TERM=$TERM"
|
---|
20 | echo "PATH=$PATH" | fold -w 64 ; echo "$ ls -tx $PWD" ; ls -tAxFw64
|
---|
21 | if [ "$1" = "all" ] || [ "$1" = "long" ] ; then
|
---|
22 | echo ; md5sum -b /bin/msys*.dll ; md5sum -b $(type -p make).exe
|
---|
23 | md5sum -b $(type -p gcc).exe ; md5sum -b $(type -p ld).exe
|
---|
24 | echo ; echo "In /etc/fstab:" ; cat /etc/fstab | grep '/'
|
---|
25 | echo ; echo "In /etc/profile:" ; cat /etc/profile | grep -i 'export'
|
---|
26 | echo ; grep -a '%%%' /bin/msys*.dll
|
---|
27 | echo ; set | fold -sw 64
|
---|
28 | echo ; echo '$ msysinfo all >msysinfo.txt will save this to a file'
|
---|
29 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.