From: naruse@... Date: 2016-11-04T06:30:53+00:00 Subject: [ruby-core:77903] [Ruby trunk Feature#12896] Add compiler version message into rbconfig Issue #12896 has been reported by Yui NARUSE. ---------------------------------------- Feature #12896: Add compiler version message into rbconfig https://bugs.ruby-lang.org/issues/12896 * Author: Yui NARUSE * Status: Open * Priority: Normal * Assignee: ---------------------------------------- When a extension library developer receives bug reports, they sometimes want to know what compiler is used for building the ruby binary. We can already know its compiler option but cannot know compiler name and version. ```diff diff --git a/configure.in b/configure.in index 3734afa..6793d7d 100644 --- a/configure.in +++ b/configure.in @@ -536,8 +536,10 @@ for option in --version -v -V -qversion; do AS_CASE($cc_version_status, [0], [:], [continue]) AS_CASE($cc_version_message, [*Warning*], [continue]) cc_version='$(CC) '$option + break done AC_SUBST(CC_VERSION, $cc_version) +AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message) RUBY_UNIVERSAL_ARCH if test "$target_cpu" != "$host_cpu" -a "$GCC" = yes -a "$cross_compiling" = no -a "$universal_binary" = no; then ``` -- https://bugs.ruby-lang.org/ Unsubscribe: