forked from hush/hush3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
520 B
17 lines
520 B
#!/bin/bash
|
|
# Copyright (c) 2016-2021 The Hush developers
|
|
# Distributed under the GPLv3 software license, see the accompanying
|
|
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
|
#TODO: detect other versions of gcc/clang
|
|
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
|
|
|