Hello,
For my workload development im using v8 engine and was able to build for
arm with my standalone toolchain based on ndkr10d.
But im not able to build for x86. when im building with make
android_ia32.debug -j4 V=1
im encountering following errors.
.debug/obj.host/v8_base/src/allocation-tracker.o
../src/allocation-tracker.cc
In file included from .././src/base/macros.h:11:0,
from .././src/globals.h:13,
from .././src/allocation.h:8,
from ../src/allocation.cc:5:
/usr/include/c++/4.8/cstring:41:28: fatal error: bits/c++config.h: No such
file or directory
#include <bits/c++config.h>
^
compilation terminated.
In file included from .././src/base/macros.h:11:0,
from .././src/globals.h:13,
from .././src/allocation.h:8,
from .././src/v8.h:32,
from ../src/accessors.cc:5:
/usr/include/c++/4.8/cstring:41:28: fatal error: bits/c++config.h: No such
file or directory
#include <bits/c++config.h>
^
compilation terminated.
In file included from .././src/base/macros.h:11:0,
from .././src/globals.h:13,
from .././src/allocation.h:8,
from .././src/v8.h:32,
from ../src/allocation-tracker.cc:5:
/usr/include/c++/4.8/cstring:41:28: fatal error: bits/c++config.h: No such
file or directory
#include <bits/c++config.h>
^
compilation terminated.
In file included from .././src/base/macros.h:11:0,
from .././src/globals.h:13,
from .././src/allocation.h:8,
from .././src/v8.h:32,
from .././src/ast.h:8,
from .././src/allocation-site-scopes.h:8,
from ../src/allocation-site-scopes.cc:5:
/usr/include/c++/4.8/cstring:41:28: fatal error: bits/c++config.h: No such
file or directory
#include <bits/c++config.h>
MY makefile
CXX ?=
/home/..../ndk-r10d-android-19-x86-toolchain/bin/i686-linux-android-g++
LINK ?=
/home/.../ndk-r10d-android-19-x86-toolchain/bin/i686-linux-android-g++
OUTDIR ?= out
TESTJOBS ?=
GYPFLAGS ?=
TESTFLAGS ?=
ANDROID_NDK_ROOT ?= /home/.../Downloads/android-ndk-r10d/
ANDROID_NDK_HOST_ARCH ?= x86
ANDROID_TOOLCHAIN ?=
/home/.../androidStandAlone/ndk-r10d-android-19-x86-toolchain/
ANDROID_V8 ?= /data/local/tmp/v8
NACL_SDK_ROOT ?=
LDFLAGS ?= -fPIE -pie
I have also exported all the CXX,LINK,CC but some how im missing something
to get rid of the above error.
Im building on ubuntu 12.10 and gcc version is 4.8
I will really appreciate the help for the same.
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.