Created
January 17, 2014 00:34
-
-
Save HLFH/8466268 to your computer and use it in GitHub Desktop.
ArchLinuxARM CubieTruck Libv8 ARM Detection Test
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
[root@surfnote ~]# ruby test.rb | |
{"DESTDIR"=>"", | |
"MAJOR"=>"2", | |
"MINOR"=>"0", | |
"TEENY"=>"0", | |
"PATCHLEVEL"=>"353", | |
"INSTALL"=>"/usr/bin/install -c", | |
"EXEEXT"=>"", | |
"prefix"=>"/usr", | |
"ruby_install_name"=>"ruby", | |
"RUBY_INSTALL_NAME"=>"ruby", | |
"RUBY_SO_NAME"=>"ruby", | |
"exec"=>"exec", | |
"ruby_pc"=>"ruby-2.0.pc", | |
"PACKAGE"=>"ruby", | |
"BUILTIN_TRANSSRCS"=>" newline.c", | |
"USE_RUBYGEMS"=>"YES", | |
"MANTYPE"=>"doc", | |
"NROFF"=>"/usr/bin/nroff", | |
"vendorarchhdrdir"=>"/usr/include/ruby-2.0.0/vendor_ruby/armv7l-linux-eabihf", | |
"sitearchhdrdir"=>"/usr/include/ruby-2.0.0/site_ruby/armv7l-linux-eabihf", | |
"rubyarchhdrdir"=>"/usr/include/ruby-2.0.0/armv7l-linux-eabihf", | |
"vendorhdrdir"=>"/usr/include/ruby-2.0.0/vendor_ruby", | |
"sitehdrdir"=>"/usr/include/ruby-2.0.0/site_ruby", | |
"rubyhdrdir"=>"/usr/include/ruby-2.0.0", | |
"UNIVERSAL_INTS"=>"", | |
"UNIVERSAL_ARCHNAMES"=>"", | |
"configure_args"=> | |
" '--prefix=/usr' '--sysconfdir=/etc' '--enable-shared' '--disable-rpath' '--with-dbm-type=gdbm_compat' 'CFLAGS=-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'", | |
"vendorarchdir"=>"/usr/lib/ruby/vendor_ruby/2.0.0/armv7l-linux-eabihf", | |
"vendorlibdir"=>"/usr/lib/ruby/vendor_ruby/2.0.0", | |
"vendordir"=>"/usr/lib/ruby/vendor_ruby", | |
"sitearchdir"=>"/usr/lib/ruby/site_ruby/2.0.0/armv7l-linux-eabihf", | |
"sitelibdir"=>"/usr/lib/ruby/site_ruby/2.0.0", | |
"sitedir"=>"/usr/lib/ruby/site_ruby", | |
"rubyarchdir"=>"/usr/lib/ruby/2.0.0/armv7l-linux-eabihf", | |
"rubylibdir"=>"/usr/lib/ruby/2.0.0", | |
"ruby_version"=>"2.0.0", | |
"sitearch"=>"armv7l-linux-eabihf", | |
"arch"=>"armv7l-linux-eabihf", | |
"sitearchincludedir"=>"/usr/include/armv7l-linux-eabihf", | |
"archincludedir"=>"/usr/include/armv7l-linux-eabihf", | |
"sitearchlibdir"=>"/usr/lib/armv7l-linux-eabihf", | |
"archlibdir"=>"/usr/lib/armv7l-linux-eabihf", | |
"RI_BASE_NAME"=>"ri", | |
"ridir"=>"/usr/share/ri", | |
"rubysitearchprefix"=>"/usr/lib/ruby/armv7l-linux-eabihf", | |
"rubyarchprefix"=>"/usr/lib/ruby/armv7l-linux-eabihf", | |
"rubylibprefix"=>"/usr/lib/ruby", | |
"MAKEFILES"=>"Makefile", | |
"PLATFORM_DIR"=>"", | |
"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", | |
"LIBRUBYARG_STATIC"=>"-lruby-static", | |
"LIBRUBYARG"=>"-lruby", | |
"LIBRUBY"=>"libruby.so.2.0.0", | |
"LIBRUBY_ALIASES"=>"libruby.so.2.0 libruby.so", | |
"LIBRUBY_SO"=>"libruby.so.2.0.0", | |
"LIBRUBY_A"=>"libruby-static.a", | |
"RUBYW_INSTALL_NAME"=>"", | |
"rubyw_install_name"=>"", | |
"LIBRUBY_DLDFLAGS"=>"-Wl,-soname,libruby.so.2.0 ", | |
"LIBRUBY_LDSHARED"=>"gcc -shared", | |
"EXTDLDFLAGS"=>"", | |
"EXTLDFLAGS"=>"", | |
"strict_warnflags"=>"-ansi -std=iso9899:199409", | |
"warnflags"=> | |
"-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration", | |
"debugflags"=>"-ggdb3", | |
"optflags"=>"-O3 -fno-fast-math", | |
"cxxflags"=> | |
" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration", | |
"cflags"=> | |
" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration", | |
"cppflags"=>"", | |
"NULLCMD"=>":", | |
"DLNOBJ"=>"dln.o", | |
"INSTALLDOC"=>"all", | |
"CAPITARGET"=>"capi", | |
"RDOCTARGET"=>"rdoc", | |
"DTRACE_GLOMMED_OBJ"=>"", | |
"DTRACE_OBJ"=>"", | |
"DTRACE_EXT"=>"dmyh", | |
"EXECUTABLE_EXTS"=>"", | |
"ARCHFILE"=>"", | |
"LIBRUBY_RELATIVE"=>"no", | |
"EXTOUT"=>".ext", | |
"RUNRUBY_COMMAND"=> | |
"$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=.ext $(RUNRUBYOPT)", | |
"PREP"=>"miniruby", | |
"BTESTRUBY"=>"$(MINIRUBY)", | |
"CROSS_COMPILING"=>"no", | |
"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"=>"", | |
"codesign"=>"", | |
"POSTLINK"=>":", | |
"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"=>"/usr/bin/pkg-config", | |
"PYTHON"=>"", | |
"DOXYGEN"=>"doxygen", | |
"DOT"=>"dot", | |
"DTRACE"=>"", | |
"MAKEDIRS"=>"/usr/bin/mkdir -p", | |
"MKDIR_P"=>"/usr/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"=>":", | |
"OBJDUMP"=>"objdump", | |
"ASFLAGS"=>"", | |
"AS"=>"as", | |
"AR"=>"ar", | |
"RANLIB"=>"ranlib", | |
"try_header"=>"", | |
"COUTFLAG"=>"-o ", | |
"OUTFLAG"=>"-o ", | |
"CPPOUTFILE"=>"-o conftest.i", | |
"GNU_LD"=>"yes", | |
"LD"=>"ld", | |
"GCC"=>"yes", | |
"EGREP"=>"/usr/bin/grep -E", | |
"GREP"=>"/usr/bin/grep", | |
"CPP"=>"gcc -E", | |
"CXXFLAGS"=> | |
"-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4", | |
"CXX"=>"g++", | |
"OBJEXT"=>"o", | |
"CPPFLAGS"=>"-D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 ", | |
"LDFLAGS"=>"-L. -fstack-protector -rdynamic -Wl,-export-dynamic", | |
"CFLAGS"=> | |
"-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC", | |
"CC"=>"gcc", | |
"NACL_SDK_VARIANT"=>"", | |
"NACL_SDK_ROOT"=>"", | |
"NACL_TOOLCHAIN"=>"", | |
"target_os"=>"linux-eabihf", | |
"target_vendor"=>"unknown", | |
"target_cpu"=>"armv7l", | |
"target"=>"armv7l-unknown-linux-gnueabihf", | |
"host_os"=>"linux-gnueabihf", | |
"host_vendor"=>"unknown", | |
"host_cpu"=>"armv7l", | |
"host"=>"armv7l-unknown-linux-gnueabihf", | |
"RUBY_VERSION_NAME"=>"ruby-2.0.0", | |
"RUBYW_BASE_NAME"=>"rubyw", | |
"RUBY_BASE_NAME"=>"ruby", | |
"build_os"=>"linux-gnueabihf", | |
"build_vendor"=>"unknown", | |
"build_cpu"=>"armv7l", | |
"build"=>"armv7l-unknown-linux-gnueabihf", | |
"RUBY_RELEASE_DATE"=>"2013-11-22", | |
"RUBY_PROGRAM_VERSION"=>"2.0.0", | |
"target_alias"=>"", | |
"host_alias"=>"", | |
"build_alias"=>"", | |
"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"=>"/usr/var", | |
"sharedstatedir"=>"/usr/com", | |
"sysconfdir"=>"/etc", | |
"datadir"=>"/usr/share", | |
"datarootdir"=>"/usr/share", | |
"libexecdir"=>"/usr/libexec", | |
"sbindir"=>"/usr/sbin", | |
"bindir"=>"/usr/bin", | |
"exec_prefix"=>"/usr", | |
"PACKAGE_URL"=>"", | |
"PACKAGE_BUGREPORT"=>"", | |
"PACKAGE_STRING"=>"", | |
"PACKAGE_VERSION"=>"", | |
"PACKAGE_TARNAME"=>"", | |
"PACKAGE_NAME"=>"", | |
"PATH_SEPARATOR"=>":", | |
"SHELL"=>"/bin/sh", | |
"archdir"=>"/usr/lib/ruby/2.0.0/armv7l-linux-eabihf", | |
"topdir"=>"/usr/lib/ruby/2.0.0/armv7l-linux-eabihf"} | |
2.0.0 | |
armv7l-linux-eabihf | |
Linux surfnote.net 3.4.75+ #2 SMP PREEMPT Mon Dec 30 17:02:17 CST 2013 armv7l GNU/Linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment