aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-07-15 17:30:50 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-07-15 17:30:50 +0200
commitb7fbc28217c7e324f33c4b63d858560eba2ba07a (patch)
treeff3c32a779b4476e70a8e3b3b665205c6d00b85d /erts/etc
parent2496dd9ace488836115adae8b93f30d7fa0882c5 (diff)
parentc6f452c340ad1749ce91c037a4820ea0feb0a644 (diff)
downloadotp-b7fbc28217c7e324f33c4b63d858560eba2ba07a.tar.gz
otp-b7fbc28217c7e324f33c4b63d858560eba2ba07a.tar.bz2
otp-b7fbc28217c7e324f33c4b63d858560eba2ba07a.zip
Merge branch 'maint'
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/unix/etp-commands27
1 files changed, 27 insertions, 0 deletions
diff --git a/erts/etc/unix/etp-commands b/erts/etc/unix/etp-commands
index f059662271..35f75df5c1 100644
--- a/erts/etc/unix/etp-commands
+++ b/erts/etc/unix/etp-commands
@@ -2075,6 +2075,33 @@ document etp-system-info
%---------------------------------------------------------------------------
end
+define etp-compile-info
+ printf "--------------- Compile Information ---------------\n"
+ printf "CFLAGS: %s\n", erts_build_flags_CFLAGS
+ printf "LDFLAGS: %s\n", erts_build_flags_LDFLAGS
+ printf "Use etp-config-h-info to dump config.h\n"
+end
+
+document etp-compile-info
+%---------------------------------------------------------------------------
+% etp-compile-info
+%
+% Print information about how the system was compiled
+%---------------------------------------------------------------------------
+end
+
+define etp-config-h-info
+ printf "%s", erts_build_flags_CONFIG_H
+end
+
+document etp-config-h-info
+%---------------------------------------------------------------------------
+% etp-config-h-info
+%
+% Dump the contents of config.h when the system was compiled
+%---------------------------------------------------------------------------
+end
+
define etp-dictdump
# Args: ProcDict*
#