[oe] inherit scons -- arm-angstrom-linux-gcc: command not found

AJ ONeal coolaj86 at gmail.com
Thu Jul 29 06:26:03 UTC 2010


I'm trying to compile v8 for angstrom (gumstix overo) and this is my recipe:
v8_r5144.bb:

DESCRIPTION = "V8 JavaScript Engine"
PR = "r0"
DEPENDS = ""
SRC_URI = " \svn://v8.googlecode.com/svn;module=trunk;proto=http;rev=5144 \
"
S = "${WORKDIR}/trunk"
FILES_${PN} = "${bindir}/libv8"

inherit scons





and this is how it fails:

|* arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
-mfpu=neon*-mfloat-abi=softfp -o obj/release/dtoa-config.o -c
-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3
-Werror -Wno-uninitialized -m32 -O3 -fomit-frame-pointer -fdata-sections
-ffunction-sections -ansi
-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
-DV8_TARGET_ARCH_IA32 -DENABLE_VMSTATE_TRACKING
-DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc
src/dtoa-config.c
|* /bin/bash: arm-angstrom-linux-gnueabi-gcc: command not found*|*
scons: *** [obj/release/dtoa-config.o] Error 127*



The problem appears to be that the PATH is not set properly. I tried setting
the path manually in scons.bbclass to the exact location of the gcc binary,
but that also fails.


Any suggestions?


Note: I uninstalled ccache, since I saw that scons was using that.



AJ ONeal



More information about the Openembedded-devel mailing list