Hi Jeff - The v8 MIPS port is a work in progress. The code in the google tree is old and not functional.
We are developing the code in an independent repository on github: https://github.com/paul99/v8m-rb Use the master branch. This code is behind the current google tree, and we are working hard to catch up, and will be submitting it back to google for inclusion in the official tree as soon as possible. In the wiki on that repo you can see test results and benchmark results for one mips 24k board. I can give you more info later this week when I return to the office. Our version of v8 has been integrated with the Android browser, and works well. One limitation is that we only support little-endian at this time. The page that Pikpik referenced has our wiki and issues (https://github.com/paul99/v8mips/wiki/), but the source in that repo is way out of date. Been meaning to migrate wiki/issues to the new repo, v8m-rb Please give the code a try and let me know if you have any issues or questions. Thanks Paul On Dec 14, 2010, at 4: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 -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
