From: Lyndon Nerenberg Date: Fri, 8 Aug 2014 21:32:54 +0000 (-0700) Subject: Print information about the compiler toolchain on Darwin and FreeBSD. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/86df74051ed8804aab61a128d3135377d158867a?ds=sidebyside;hp=-c Print information about the compiler toolchain on Darwin and FreeBSD. --- 86df74051ed8804aab61a128d3135377d158867a diff --git a/tools/showbuildenv b/tools/showbuildenv index 686d188b..415c169d 100755 --- a/tools/showbuildenv +++ b/tools/showbuildenv @@ -27,12 +27,23 @@ done header Shell Variables: set | sort -d -t= | offset -echo case ${os} in + Darwin) + header Compilers: + cc -v 2>&1 | offset + echo + lex --version | offset + echo + yacc --version | offset + ;; + FreeBSD) + header Compilers: + cc -v 2>&1 | offset + header Installed packages: (pkg info 2>/dev/null | offset) || true (pkg_info 2>/dev/null | offset) || true