aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-07-04 15:23:06 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-07-11 18:41:43 +0200
commit14c0a18a9970f2287bbb09c46bee0c33358e3fc9 (patch)
tree1628c69b00844228b811d7d65bf02d95707fe2fa /erts/etc
parent193639fde33e135cc390f1df13076e5632fdd43c (diff)
downloadotp-14c0a18a9970f2287bbb09c46bee0c33358e3fc9.tar.gz
otp-14c0a18a9970f2287bbb09c46bee0c33358e3fc9.tar.bz2
otp-14c0a18a9970f2287bbb09c46bee0c33358e3fc9.zip
erts: Add cflags, ldflags and config.h into executable
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*
#