Files
hush3/toolchain-info.sh
2016-12-26 14:11:13 +08:00

17 lines
303 B
Bash
Executable File

#!/bin/bash
tools=("gcc-5" "g++-5" "otool" "nm")
echo "Platform: `uname -a`"
echo "-------------------------------------"
echo "Tool info:"
echo
for tool in "${tools[@]}"
do
echo "$tool location: `which $tool`"
echo "$tool version: `$tool --version`"
echo
echo "-------"
echo
done