Hi all:

I am trying to cross-compile V8 for friendlyArm (mini2440) board
(Samsung S3C2440). I get the following error:

/home/me/Dev/mini2440/oe/build/cross/armv4t/bin/arm-angstrom-linux-
gnueabi-g++ -o obj/release/arm/macro-assembler-arm.os -c -I. -
march=armv4t -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor
-pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections
-ansi -fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W -
Wno-unused-parameter -Wnon-virtual-dtor -pedantic -O3 -fomit-frame-
pointer -fdata-sections -ffunction-sections -ansi -fPIC -
DV8_TARGET_ARCH_ARM -DV8_SHARED -DENABLE_VMSTATE_TRACKING -
DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc src/arm/
macro-assembler-arm.cc
src/arm/macro-assembler-arm.cc:59:3: error: #error "For thumb inter-
working we require an architecture which supports blx"
scons: *** [obj/release/arm/macro-assembler-arm.os] Error 1
scons: building terminated because of errors.

I set CC, CXX, RANLIB and AR environment variables to point out the
armv4t toolchain. Also set CFLAGS and CXXFLAGS to "-I. -
march=armv4t".

Do you have any idea how I can fix that.

 Thanks in advance.

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to