I missed this email in the first place, so sorry for a delay in
replying.
In short, the steps to get MIPS running are not complex at all.
#1 checkout native client project
#2 build MIPS toolchain
To do this, simply run
$ tools/trusted_cross_toolchains/trusted-toolchain-
creator.mipsel.squeeze.sh trusted_sdk
from the root directory.
This input parameter to the script will soon be replaced with
"nacl_sdk"
(
https://codereview.chromium.org/12315003/)
Hopefully the prebuilt toolchain will be available for a download, so
not
everyone has a pleasure to cross-compile gcc.
#3 apply the missing patches
Even they are still in review, it should fine for you to get the
current
versions.
Sel_ldr, validator and many other pieces are already integrated, but
the
changes for scons and the tests are missing. So, go, pick and apply:
https://codereview.chromium.org/12256018/
https://codereview.chromium.org/12460003/
#4 build native client
pnacl/build.sh all
pnacl/build.sh sdk newlib
#5 use it
Scons is a nice way to run a test, so to run hello-world for instance,
you can do:
$ ./scons --mode=nacl,opt-linux platform=mips32 -k --verbose pp=1
run_hello_world_test
You can use run.py as well, just give it path to nexe, in this case
that is:
$ ./run.py scons-out/nacl-mips32-pnacl-clang/obj/tests/hello_world/
hello_world.nexe
Hope this answers your questions.
Regards,
Petar