Your linker doesn't understand -mfloat-abi=softfp. Try this: export LINK="$TOOLCHAIN/bin/arm-none-linux-gnueabi-g++" export LD="$TOOLCHAIN/bin/arm-none-linux-gnueabi-ld"
Also, please be aware that the SCons based build is on its way out. You should use GYP/make. On Thu, Apr 19, 2012 at 14:16, satish pattar <[email protected]>wrote: > Hi , > > I am trying to compile V8 for my ARM based target. I am encountering with > below error. > > ---------------------- > > My toolchain file looks like: > > export > TOOLCHAIN="/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi" > export CPPFLAGS="$CPPFLAGS -march=armv7-a -mfloat-abi=softfp -mfpu=neon" > export CC="$TOOLCHAIN/bin/arm-fsl-linux-gnueabi-gcc" > export CXX="$TOOLCHAIN/bin/arm-fsl-linux-gnueabi-g++" > export LINK="$TOOLCHAIN/bin/arm-none-linux-gnueabi-ld" > export AR="$TOOLCHAIN/bin/arm-fsl-linux-gnueabi-ar" > export RANLIB="$TOOL_CHAIN/arm-fsl-linux-gnueabi-ranlib" > export OBJCOPY="$TOOLCHAIN/bin/arm-fsl-linux-gnueabi-objcopy" > export STRIP="$TOOLCHAIN/bin/arm-fsl-linux-gnueabi-strip" > scons wordsize=32 snapshot=off arch=arm sample=shell library=shared > ~ > ---------- > Error: > > /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-ld > -o shell -mfloat-abi=softfp -O2 obj/sample/shell/release/shell.o -L. -lv8 > -lpthread > /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-ld: > unrecognised emulation mode: float-abi=softfp > Supported emulations: armelf_linux_eabi armelfb_linux_eabi > scons: *** [shell] Error 1 > scons: building terminated because of errors. > ------- > > Any idea what could be the problem here.. > > Thanks, > Satish > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
