On 2012/04/30 09:01:49, Jakob wrote:
"make arm" already works for simulator builds, cross-compile builds and
native
builds (on ARM hosts); what sort of binary you get just depends on the
toolchain
you have set up (CXX etc. environment variables). I'd like to have the
same
for
MIPS, if at all possible.
I'm happy to play around with the build definitions myself if you could
point
me
to instructions how to set up a MIPS cross-compile toolchain.
Hi! Setting up for MIPS compilation should be no different from ARM. We use
the
CodeSourcery toolchain:
https://sourcery.mentor.com/sgpp/lite/mips/portal/release2037
And here's a small script to set up the env variables:
#!/bin/bash
BASE=/data/bin/mips-2011.09/bin/mips-linux-gnu
export CC="$BASE"-gcc
export CXX="$BASE"-g++
export LINK="$BASE"-g++
Originally I thought that "make arm" didn't support cross-compilation, but
a few
minutes ago I realized that I wasn't setting up $LINK properly. So now "make
arm" works but "make mips" doesn't - that probably means this patch really
is
unnecessary and mips compilation needs to be fixed.
Thanks for the help, by the way:)
http://codereview.chromium.org/10257030/
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev