source: Daodan/MinGW/msys/1.0/bin/msysinfo@ 1080

Last change on this file since 1080 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.4 KB
RevLine 
[1046]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
7echo 'msysinfo-1.3: Send this to the MSYS support list:'
8echo ; echo 'MSYS '$(uname -rvmp)"; targ="$(uname -s|cut -d_ -f1)
9echo $(sh --version | grep -i '[0-9]\.[0-9]')"; ENV=${ENV:-.profile}"
10echo -n $(make --version | grep -i '[0-9]\.[0-9]' | cut -db -f1)""
11echo $(make --version | grep -i 'Built')"; MAKE_MODE=$MAKE_MODE"
12echo $(gcc --version | grep -i '[0-9]\.[0-9]')"; targ="$(uname -s|cut -d_ -f1)
13ld --version | grep -i '[0-9]\.[0-9]'
14ls -o --full-time /bin/msys*.dll | cut -c 25-
15ls -o --full-time $(type -p make).exe | cut -c 25-
16ls -o --full-time $(type -p gcc).exe | cut -c 25-
17ls -o --full-time $(type -p ld).exe | cut -c 25-
18echo "HOME=$HOME"
19echo "Sysname=$(uname --sysname) OSTYPE=$OSTYPE TERM=$TERM"
20echo "PATH=$PATH" | fold -w 64 ; echo "$ ls -tx $PWD" ; ls -tAxFw64
21if [ "$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'
29fi
Note: See TracBrowser for help on using the repository browser.