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 W.
On Fri, May 27, 2011 at 1:54 PM, Wilde, Donald S
[email protected] wrote:
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’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’
-Wl is an option on GNU ld: “Pass option as an option to the
linker.”[1] I don’t know if the Intel CE SoC SDK has an equivalent ld
option.
[1] Link Options (Using the GNU Compiler Collection (GCC))
On Fri, May 27, 2011 at 3:34 PM, Wilde, Donald S
[email protected] wrote:
Hmmm… we use GNU tools to compile our SDK. According to that page the call
looks good.
It’s GNU ld, version 2.20.20100303. Is it perhaps the space between the comma
and the -R option? I know GNU is sometimes less than flexible about that. It’s all
from the 4.5.1 gcc package and associated bintools.
Is there a space? It looks like there was no space in the actual
command but only in the error message.