CC=arm-none-eabi-gcc ./configure --host=arm-none-eabi
--prefix=$HOME/work/ruby --disable-pthread
it saids:
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... no
checking for pthread_kill in -lpthreads... no
checking for pthread_kill in -lc... no
checking for pthread_kill in -lc_r... no
checking for pthread_kill in -lroot... no
configure: WARNING: "Don't know how to find pthread library on your
system -- thread support disabled"
checking for sched_yield... no
checking for pthread_attr_setinheritsched... no
checking for pthread_getattr_np... no
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... no
checking for pthread_get_stackaddr_np... no
checking for pthread_get_stacksize_np... no
checking for thr_stksegment... no
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... no
checking for pthread_condattr_setclock... no
checking for pthread_condattr_init... no
checking for pthread_sigmask... no
checking for pthread_attr_init... no
checking for backtrace... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking whether ELF binaries are produced... yes
checking elf.h usability... no
checking elf.h presence... no
checking for elf.h... no
checking elf_abi.h usability... no
checking elf_abi.h presence... no
checking for elf_abi.h... no
checking whether OS depend dynamic link works... unknown
checking for arm-none-eabi-strip... arm-none-eabi-strip
checking whether -fPIE is accepted as CFLAGS... yes
checking whether -pie is accepted as LDFLAGS... no
checking whether -Wl,-pie is accepted as LDFLAGS... no
checking for prefix of external symbols... NONE
configure: error: thread model is missing
···
--
Posted via http://www.ruby-forum.com/.