Created
January 10, 2013 14:14
-
-
Save ignisf/4502282 to your computer and use it in GitHub Desktop.
RbConfig::CONFIG on the Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> RbConfig::CONFIG.each {|key, value| p "#{key} => #{value}"} | |
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 194" | |
"INSTALL => /usr/bin/install -c" | |
"EXEEXT => " | |
"prefix => /usr" | |
"ruby_install_name => ruby1.9.1" | |
"RUBY_INSTALL_NAME => ruby1.9.1" | |
"RUBY_SO_NAME => ruby-1.9.1" | |
"exec => exec" | |
"ruby_pc => ruby-1.9.pc" | |
"PACKAGE => ruby" | |
"BUILTIN_TRANSSRCS => newline.c" | |
"USE_RUBYGEMS => YES" | |
"MANTYPE => doc" | |
"NROFF => /usr/bin/nroff" | |
"vendorhdrdir => /usr/include/ruby-1.9.1/vendor_ruby" | |
"sitehdrdir => /usr/include/ruby-1.9.1/site_ruby" | |
"rubyhdrdir => /usr/include/ruby-1.9.1" | |
"UNIVERSAL_INTS => " | |
"UNIVERSAL_ARCHNAMES => " | |
"configure_args => '--build=arm-linux-gnueabi' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib/ruby1.9.1' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--enable-pthread' '--enable-shared' '--disable-rpath' '--disable-install-doc' '--with-vendordir=/usr/lib/ruby/vendor_ruby' '--with-sitedir=/usr/local/lib/site_ruby' '--program-suffix=1.9.1' '--with-soname=ruby-1.9.1' '--with-baseruby=/usr/bin/ruby1.8' '--enable-ipv6' '--with-dbm-type=gdbm_compat' '--with-tklib=tk8.5' '--with-tcllib=tcl8.5' '--with-tcl-include=/usr/include/tcl8.5' '--with-bundled-sha1' '--with-bundled-md5' '--with-bundled-rmd160' 'build_alias=arm-linux-gnueabi' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing'" | |
"vendordir => /usr/lib/ruby/vendor_ruby" | |
"sitedir => /usr/local/lib/site_ruby" | |
"ruby_version => 1.9.1" | |
"sitearch => arm-linux-eabi" | |
"arch => arm-linux-eabi" | |
"RI_BASE_NAME => ri" | |
"ridir => /usr/share/ri" | |
"rubylibprefix => /usr/lib/ruby" | |
"MAKEFILES => Makefile" | |
"THREAD_MODEL => pthread" | |
"SYMBOL_PREFIX => " | |
"EXPORT_PREFIX => " | |
"COMMON_HEADERS => " | |
"COMMON_MACROS => " | |
"COMMON_LIBS => " | |
"MAINLIBS => " | |
"ENABLE_SHARED => yes" | |
"DLDLIBS => -lc" | |
"SOLIBS => -lpthread -lrt -ldl -lcrypt -lm " | |
"LIBRUBYARG_SHARED => -lruby-1.9.1" | |
"LIBRUBYARG_STATIC => -lruby-1.9.1-static" | |
"LIBRUBYARG => -lruby-1.9.1" | |
"LIBRUBY => libruby-1.9.1.so.1.9.1" | |
"LIBRUBY_ALIASES => libruby-1.9.1.so.1.9 libruby-1.9.1.so" | |
"LIBRUBY_SO => libruby-1.9.1.so.1.9.1" | |
"LIBRUBY_A => libruby-1.9.1-static.a" | |
"RUBYW_INSTALL_NAME => " | |
"rubyw_install_name => " | |
"LIBRUBY_DLDFLAGS => -Wl,-soname,libruby-1.9.1.so.1.9" | |
"LIBRUBY_LDSHARED => gcc -shared" | |
"warnflags => -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration" | |
"debugflags => -ggdb" | |
"optflags => -O3" | |
"cxxflags => -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration" | |
"cflags => -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration" | |
"cppflags => -D_FORTIFY_SOURCE=2" | |
"NULLCMD => :" | |
"INSTALLDOC => nodoc" | |
"CAPITARGET => nodoc" | |
"RDOCTARGET => nodoc" | |
"EXECUTABLE_EXTS => " | |
"ARCHFILE => " | |
"LIBRUBY_RELATIVE => no" | |
"EXTOUT => .ext" | |
"PREP => miniruby" | |
"TEST_RUNNABLE => yes" | |
"setup => Setup" | |
"EXTSTATIC => " | |
"STRIP => strip -S -x" | |
"TRY_LINK => " | |
"LIBPATHENV => LD_LIBRARY_PATH" | |
"RPATHFLAG => " | |
"LIBPATHFLAG => -L%s" | |
"LINK_SO => " | |
"LIBEXT => a" | |
"DLEXT2 => " | |
"DLEXT => so" | |
"LDSHAREDXX => g++ -shared" | |
"LDSHARED => gcc -shared" | |
"CCDLFLAGS => -fPIC" | |
"STATIC => " | |
"ARCH_FLAG => " | |
"DLDFLAGS => " | |
"ALLOCA => " | |
"WERRORFLAG => -Werror" | |
"CHDIR => cd -P" | |
"RMALL => rm -fr" | |
"RMDIRS => rmdir --ignore-fail-on-non-empty -p" | |
"RMDIR => rmdir --ignore-fail-on-non-empty" | |
"CP => cp" | |
"RM => rm -f" | |
"PKG_CONFIG => pkg-config" | |
"DOXYGEN => " | |
"DOT => " | |
"MAKEDIRS => /bin/mkdir -p" | |
"MKDIR_P => /bin/mkdir -p" | |
"INSTALL_DATA => /usr/bin/install -c -m 644" | |
"INSTALL_SCRIPT => /usr/bin/install -c" | |
"INSTALL_PROGRAM => /usr/bin/install -c" | |
"SET_MAKE => " | |
"LN_S => ln -s" | |
"NM => nm" | |
"DLLWRAP => " | |
"WINDRES => " | |
"OBJCOPY => objcopy" | |
"OBJDUMP => objdump" | |
"ASFLAGS => " | |
"AS => as" | |
"AR => ar" | |
"RANLIB => ranlib" | |
"try_header => " | |
"COUTFLAG => -o " | |
"OUTFLAG => -o " | |
"CPPOUTFILE => -o conftest.i" | |
"GNU_LD => yes" | |
"GCC => yes" | |
"EGREP => /bin/grep -E" | |
"GREP => /bin/grep" | |
"CPP => gcc -E" | |
"CXXFLAGS => -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing" | |
"CXX => g++" | |
"OBJEXT => o" | |
"CPPFLAGS => -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" | |
"LDFLAGS => -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic" | |
"CFLAGS => -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing -fPIC" | |
"CC => gcc" | |
"target_os => linux-eabi" | |
"target_vendor => unknown" | |
"target_cpu => arm" | |
"target => arm-unknown-linux-gnueabi" | |
"host_os => linux-gnueabi" | |
"host_vendor => unknown" | |
"host_cpu => arm" | |
"host => arm-unknown-linux-gnueabi" | |
"RUBYW_BASE_NAME => rubyw" | |
"RUBY_BASE_NAME => ruby" | |
"build_os => linux-gnueabi" | |
"build_vendor => unknown" | |
"build_cpu => arm" | |
"build => arm-unknown-linux-gnueabi" | |
"RUBY_RELEASE_DATE => 2012-04-20" | |
"RUBY_PROGRAM_VERSION => 1.9.3" | |
"BASERUBY => /usr/bin/ruby1.8" | |
"target_alias => " | |
"host_alias => " | |
"build_alias => arm-linux-gnueabi" | |
"LIBS => -lpthread -lrt -ldl -lcrypt -lm " | |
"ECHO_T => " | |
"ECHO_N => -n" | |
"ECHO_C => " | |
"DEFS => -D_FILE_OFFSET_BITS=64" | |
"mandir => /usr/share/man" | |
"localedir => /usr/share/locale" | |
"libdir => /usr/lib" | |
"psdir => /usr/share/doc/ruby" | |
"pdfdir => /usr/share/doc/ruby" | |
"dvidir => /usr/share/doc/ruby" | |
"htmldir => /usr/share/doc/ruby" | |
"infodir => /usr/share/info" | |
"docdir => /usr/share/doc/ruby" | |
"oldincludedir => /usr/include" | |
"includedir => /usr/include" | |
"localstatedir => /var" | |
"sharedstatedir => /usr/com" | |
"sysconfdir => /etc" | |
"datadir => /usr/share" | |
"datarootdir => /usr/share" | |
"libexecdir => /usr/lib/ruby1.9.1" | |
"sbindir => /usr/sbin" | |
"bindir => /usr/bin" | |
"program_transform_name => s&$&1.9.1&;s&^&&" | |
"exec_prefix => /usr" | |
"PACKAGE_URL => " | |
"PACKAGE_BUGREPORT => " | |
"PACKAGE_STRING => " | |
"PACKAGE_VERSION => " | |
"PACKAGE_TARNAME => " | |
"PACKAGE_NAME => " | |
"PATH_SEPARATOR => :" | |
"SHELL => /bin/bash" | |
"rubylibdir => /usr/lib/ruby/1.9.1" | |
"archdir => /usr/lib/ruby/1.9.1/arm-linux-eabi" | |
"sitelibdir => /usr/local/lib/site_ruby/1.9.1" | |
"sitearchdir => /usr/local/lib/site_ruby/1.9.1/arm-linux-eabi" | |
"vendorlibdir => /usr/lib/ruby/vendor_ruby/1.9.1" | |
"vendorarchdir => /usr/lib/ruby/vendor_ruby/1.9.1/arm-linux-eabi" | |
"topdir => /usr/lib/ruby/1.9.1/arm-linux-eabi" | |
=> {"DESTDIR"=>"", "MAJOR"=>"1", "MINOR"=>"9", "TEENY"=>"1", "PATCHLEVEL"=>"194", "INSTALL"=>"/usr/bin/install -c", "EXEEXT"=>"", "prefix"=>"/usr", "ruby_install_name"=>"ruby1.9.1", "RUBY_INSTALL_NAME"=>"ruby1.9.1", "RUBY_SO_NAME"=>"ruby-1.9.1", "exec"=>"exec", "ruby_pc"=>"ruby-1.9.pc", "PACKAGE"=>"ruby", "BUILTIN_TRANSSRCS"=>" newline.c", "USE_RUBYGEMS"=>"YES", "MANTYPE"=>"doc", "NROFF"=>"/usr/bin/nroff", "vendorhdrdir"=>"/usr/include/ruby-1.9.1/vendor_ruby", "sitehdrdir"=>"/usr/include/ruby-1.9.1/site_ruby", "rubyhdrdir"=>"/usr/include/ruby-1.9.1", "UNIVERSAL_INTS"=>"", "UNIVERSAL_ARCHNAMES"=>"", "configure_args"=>" '--build=arm-linux-gnueabi' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib/ruby1.9.1' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--enable-pthread' '--enable-shared' '--disable-rpath' '--disable-install-doc' '--with-vendordir=/usr/lib/ruby/vendor_ruby' '--with-sitedir=/usr/local/lib/site_ruby' '--program-suffix=1.9.1' '--with-soname=ruby-1.9.1' '--with-baseruby=/usr/bin/ruby1.8' '--enable-ipv6' '--with-dbm-type=gdbm_compat' '--with-tklib=tk8.5' '--with-tcllib=tcl8.5' '--with-tcl-include=/usr/include/tcl8.5' '--with-bundled-sha1' '--with-bundled-md5' '--with-bundled-rmd160' 'build_alias=arm-linux-gnueabi' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing'", "vendordir"=>"/usr/lib/ruby/vendor_ruby", "sitedir"=>"/usr/local/lib/site_ruby", "ruby_version"=>"1.9.1", "sitearch"=>"arm-linux-eabi", "arch"=>"arm-linux-eabi", "RI_BASE_NAME"=>"ri", "ridir"=>"/usr/share/ri", "rubylibprefix"=>"/usr/lib/ruby", "MAKEFILES"=>"Makefile", "THREAD_MODEL"=>"pthread", "SYMBOL_PREFIX"=>"", "EXPORT_PREFIX"=>"", "COMMON_HEADERS"=>"", "COMMON_MACROS"=>"", "COMMON_LIBS"=>"", "MAINLIBS"=>"", "ENABLE_SHARED"=>"yes", "DLDLIBS"=>" -lc", "SOLIBS"=>"-lpthread -lrt -ldl -lcrypt -lm ", "LIBRUBYARG_SHARED"=>"-lruby-1.9.1", "LIBRUBYARG_STATIC"=>"-lruby-1.9.1-static", "LIBRUBYARG"=>"-lruby-1.9.1", "LIBRUBY"=>"libruby-1.9.1.so.1.9.1", "LIBRUBY_ALIASES"=>"libruby-1.9.1.so.1.9 libruby-1.9.1.so", "LIBRUBY_SO"=>"libruby-1.9.1.so.1.9.1", "LIBRUBY_A"=>"libruby-1.9.1-static.a", "RUBYW_INSTALL_NAME"=>"", "rubyw_install_name"=>"", "LIBRUBY_DLDFLAGS"=>"-Wl,-soname,libruby-1.9.1.so.1.9", "LIBRUBY_LDSHARED"=>"gcc -shared", "warnflags"=>"-Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration", "debugflags"=>"-ggdb", "optflags"=>"-O3", "cxxflags"=>" -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration", "cflags"=>" -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration", "cppflags"=>"-D_FORTIFY_SOURCE=2", "NULLCMD"=>":", "INSTALLDOC"=>"nodoc", "CAPITARGET"=>"nodoc", "RDOCTARGET"=>"nodoc", "EXECUTABLE_EXTS"=>"", "ARCHFILE"=>"", "LIBRUBY_RELATIVE"=>"no", "EXTOUT"=>".ext", "PREP"=>"miniruby", "TEST_RUNNABLE"=>"yes", "setup"=>"Setup", "EXTSTATIC"=>"", "STRIP"=>"strip -S -x", "TRY_LINK"=>"", "LIBPATHENV"=>"LD_LIBRARY_PATH", "RPATHFLAG"=>"", "LIBPATHFLAG"=>" -L%s", "LINK_SO"=>"", "LIBEXT"=>"a", "DLEXT2"=>"", "DLEXT"=>"so", "LDSHAREDXX"=>"g++ -shared", "LDSHARED"=>"gcc -shared", "CCDLFLAGS"=>"-fPIC", "STATIC"=>"", "ARCH_FLAG"=>"", "DLDFLAGS"=>"", "ALLOCA"=>"", "WERRORFLAG"=>"-Werror", "CHDIR"=>"cd -P", "RMALL"=>"rm -fr", "RMDIRS"=>"rmdir --ignore-fail-on-non-empty -p", "RMDIR"=>"rmdir --ignore-fail-on-non-empty", "CP"=>"cp", "RM"=>"rm -f", "PKG_CONFIG"=>"pkg-config", "DOXYGEN"=>"", "DOT"=>"", "MAKEDIRS"=>"/bin/mkdir -p", "MKDIR_P"=>"/bin/mkdir -p", "INSTALL_DATA"=>"/usr/bin/install -c -m 644", "INSTALL_SCRIPT"=>"/usr/bin/install -c", "INSTALL_PROGRAM"=>"/usr/bin/install -c", "SET_MAKE"=>"", "LN_S"=>"ln -s", "NM"=>"nm", "DLLWRAP"=>"", "WINDRES"=>"", "OBJCOPY"=>"objcopy", "OBJDUMP"=>"objdump", "ASFLAGS"=>"", "AS"=>"as", "AR"=>"ar", "RANLIB"=>"ranlib", "try_header"=>"", "COUTFLAG"=>"-o ", "OUTFLAG"=>"-o ", "CPPOUTFILE"=>"-o conftest.i", "GNU_LD"=>"yes", "GCC"=>"yes", "EGREP"=>"/bin/grep -E", "GREP"=>"/bin/grep", "CPP"=>"gcc -E", "CXXFLAGS"=>"-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing", "CXX"=>"g++", "OBJEXT"=>"o", "CPPFLAGS"=>"-D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2", "LDFLAGS"=>"-L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic", "CFLAGS"=>"-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing -fPIC", "CC"=>"gcc", "target_os"=>"linux-eabi", "target_vendor"=>"unknown", "target_cpu"=>"arm", "target"=>"arm-unknown-linux-gnueabi", "host_os"=>"linux-gnueabi", "host_vendor"=>"unknown", "host_cpu"=>"arm", "host"=>"arm-unknown-linux-gnueabi", "RUBYW_BASE_NAME"=>"rubyw", "RUBY_BASE_NAME"=>"ruby", "build_os"=>"linux-gnueabi", "build_vendor"=>"unknown", "build_cpu"=>"arm", "build"=>"arm-unknown-linux-gnueabi", "RUBY_RELEASE_DATE"=>"2012-04-20", "RUBY_PROGRAM_VERSION"=>"1.9.3", "BASERUBY"=>"/usr/bin/ruby1.8", "target_alias"=>"", "host_alias"=>"", "build_alias"=>"arm-linux-gnueabi", "LIBS"=>"-lpthread -lrt -ldl -lcrypt -lm ", "ECHO_T"=>"", "ECHO_N"=>"-n", "ECHO_C"=>"", "DEFS"=>"-D_FILE_OFFSET_BITS=64", "mandir"=>"/usr/share/man", "localedir"=>"/usr/share/locale", "libdir"=>"/usr/lib", "psdir"=>"/usr/share/doc/ruby", "pdfdir"=>"/usr/share/doc/ruby", "dvidir"=>"/usr/share/doc/ruby", "htmldir"=>"/usr/share/doc/ruby", "infodir"=>"/usr/share/info", "docdir"=>"/usr/share/doc/ruby", "oldincludedir"=>"/usr/include", "includedir"=>"/usr/include", "localstatedir"=>"/var", "sharedstatedir"=>"/usr/com", "sysconfdir"=>"/etc", "datadir"=>"/usr/share", "datarootdir"=>"/usr/share", "libexecdir"=>"/usr/lib/ruby1.9.1", "sbindir"=>"/usr/sbin", "bindir"=>"/usr/bin", "program_transform_name"=>"s&$&1.9.1&;s&^&&", "exec_prefix"=>"/usr", "PACKAGE_URL"=>"", "PACKAGE_BUGREPORT"=>"", "PACKAGE_STRING"=>"", "PACKAGE_VERSION"=>"", "PACKAGE_TARNAME"=>"", "PACKAGE_NAME"=>"", "PATH_SEPARATOR"=>":", "SHELL"=>"/bin/bash", "rubylibdir"=>"/usr/lib/ruby/1.9.1", "archdir"=>"/usr/lib/ruby/1.9.1/arm-linux-eabi", "sitelibdir"=>"/usr/local/lib/site_ruby/1.9.1", "sitearchdir"=>"/usr/local/lib/site_ruby/1.9.1/arm-linux-eabi", "vendorlibdir"=>"/usr/lib/ruby/vendor_ruby/1.9.1", "vendorarchdir"=>"/usr/lib/ruby/vendor_ruby/1.9.1/arm-linux-eabi", "topdir"=>"/usr/lib/ruby/1.9.1/arm-linux-eabi"} | |
irb(main):002:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment