From: "Wilde, Donald S" Date: 2011-05-28T02:54:55+09:00 Subject: porting Ruby to an embedded target Greetings, Rubyists - I am in the midst of porting the Ruby interpreter to our embedded Intel CE SoC (as used in GoogleTV and Boxee Box), and I would appreciate some knowledgeable help. Here is my configure script, with e-variables: # begin shell script SDK_ROOT=/opt/DHG/target/sdk-perl/IntelCE-21.1.11174.270772; export SDK_ROOT ./configure \ --prefix=$SDK_ROOT/build_i686/staging_dir \ --exec-prefix=$SDK_ROOT/build_i686/staging_dir \ --target=i686 \ --enable-shared CC=$SDK_ROOT/build_i686/staging_dir/i686-cm-linux/bin/gcc; export CC CFLAGS="-O2 -Wall"; export CFLAGS LDFLAGS=$SDK_ROOT/build_i686/i686-linux-elf/lib; export LDFLAGS CPPFLAGS="" CXX=$SDK_ROOT/build_i686/staging_dir/i686-cm-linux/bin/g++; export CXX # end shell script Here's the end of the output of make: ld -o .ext/i686-none/enc/encdb.so enc/encdb.o -L. -L. -L. -Wl,-R -Wl,/opt/DHG/target/sdk-perl/IntelCE-21.1.11174.270772/build_i686/staging_dir/lib -L/opt/DHG/target/sdk-perl/IntelCE-21.1.11174.270772/build_i686/staging_dir/lib -lruby -lpthread -lrt -ldl -lcrypt -lm ld: unrecognized option '-Wl, -R' I know I need to find system headers and add a -I; which ones and what else is needed? Thanks in advance! -- Don Wilde