Files
hush3/toolchain-info.sh
2019-12-10 17:36:29 -05:00

15 lines
301 B
Bash
Executable File

#!/bin/bash
tools=("gcc-8" "g++-8" "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|grep -i version`"
echo "-------"
done