I saw that "EMBEDDED_STRING" is declared in assembler.h but was removed from revision 2.2. I guess I'll try grabbing revision 2.1 see if that cross-compiles?
On Tue, Dec 14, 2010 at 2:30 PM, Jeff <[email protected]> wrote: > Hi, > I'm trying to cross compile google v8 for mips. I'm using the > following command: > > CC=/root/x-tools/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu- > gcc scons arch=mips. I modified SConstruct so that it has: > > 'arch:mips': { > 'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'], > 'simulator:none': { > 'CCFLAGS': [], > 'LDFLAGS': [] > } > }, > > I get the following compile error (see below), I was wondering if > someone could assist with cross-compiling google v8 for mips > architecture. > > Thanks, > Jeff > > > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > g++ -o obj/release/accessors.o -c -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 -DV8_TARGET_ARCH_MIPS - > DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING - > DENABLE_DEBUGGER_SUPPORT -DV8_INTERPRETED_REGEXP -Isrc src/ > accessors.cc > In file included from src/macro-assembler.h:79, > from src/jsregexp.h:31, > from src/ast.h:33, > from src/accessors.cc:31: > src/mips/assembler-mips-inl.h: In constructor > 'v8::internal::Operand::Operand(const char*)': > src/mips/assembler-mips-inl.h:73: error: 'EMBEDDED_STRING' is not a > member of 'v8::internal::RelocInfo' > > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
