I get the following in that case: /home/me/Dev/mini2440/oe/build/cross/armv4t/bin/arm-angstrom-linux- gnueabi-gcc -o obj/release/dtoa-config.os -c -I. -march=armv4 -Werror - Wno-uninitialized -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/dtoa-config.c cc1: warnings being treated as errors src/dtoa-config.c:1: warning: target CPU does not support interworking scons: *** [obj/release/dtoa-config.os] Error 1 scons: building terminated because of errors.
On Sep 1, 2:51 pm, Rodolph Perfetta <[email protected]> wrote: > V8 does not support armv4t, but it does support armv4 so try -march=armv4 > > On 1 September 2010 19:17, Emre <[email protected]> wrote: > > > 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 -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
