Isn't scons supposed to auto-guess my architecture when not cross-compiling?


touch foo.cc
g++ -march=armv7-a -mtune=cortex-a8 -mfpu=vfp -dM -E foo.cc || grep -i ARM
#define __ARMEL__ 1
#define __arm__ 1
#define __ARM_ARCH_7A__ 1
#define __ARM_EABI__ 1


svn checkout http://v8.googlecode.com/svn/trunk/ v8-read-only
cd v8-read-only
scons mode=debug snapshot=on library=shared


g++ -o obj/debug/arm/macro-assembler-arm.os -c -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fno-rtti
-fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor -pedantic -g -O0 -ansi -fPIC -DV8_TARGET_ARCH_ARM
-DENABLE_DISASSEMBLER -DDEBUG -DV8_SHARED -DENABLE_VMSTATE_TRACKING
-DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS -DENABLE_DEBUGGER_SUPPORT
-Isrc src/arm/macro-assembler-arm.cc
src/arm/macro-assembler-arm.cc:61:3: error: #error "For thumb inter-working
we require an architecture which supports blx"


AJ ONeal

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

Reply via email to