]> diplodocus.org Git - nmh/commitdiff
Print information about the compiler toolchain on Darwin and FreeBSD.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Fri, 8 Aug 2014 21:32:54 +0000 (14:32 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Fri, 8 Aug 2014 21:34:11 +0000 (14:34 -0700)
tools/showbuildenv

index 686d188bca4a85aa00d08c1579b149fcd6e6fe1d..415c169dad3406d219e9b2b5b2a2541ed83be54f 100755 (executable)
@@ -27,12 +27,23 @@ done
 
 header Shell Variables:
 set | sort -d -t= | offset
 
 header Shell Variables:
 set | sort -d -t= | offset
-echo
 
 
 case ${os} in
 
 
 
 case ${os} in
 
+  Darwin)
+       header Compilers:
+       cc -v 2>&1 | offset
+       echo
+       lex --version | offset
+       echo
+       yacc --version | offset
+       ;;
+
   FreeBSD)
   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
        header Installed packages:
        (pkg info 2>/dev/null | offset) || true
        (pkg_info 2>/dev/null | offset) || true