kopalvich
kopalvich

Reputation: 444

How to build nexe for MIPS architecture running Linux?

I'm investigating the possibility of transition from npapi to ppapi for our product, which is supposed to use QtWebengine in future.

The target platform being MISP Linux.

As it turns out, to use ppapi you've got to use naclsdk as well. So I followed the tutorial and after I ran

'./naclsdk list'

the toolchain directory of contained these directories:

linux_arm_newlib linux_pnacl linux_x86_glibc linux_x86_newlib

no support for MISP if I'm not mistaken...

But how can I build nexe (not pexe) ppapi plugin for MISP architecture with Linux? The naclsdk documentation says it's possible.

Please advise.

Upvotes: 1

Views: 153

Answers (1)

JF Bastien
JF Bastien

Reputation: 6853

MIPS is supported by ImgTech: the NaCl team accepts patches from them to support MIPS, and we have some tests bots, but we don't build a full MIPS toolchain and haven't done a thorough security audit (though we've done pretty extensive code review). You'll have to build the toolchain to get MIPS support. You'll want to run ./toolchain_build/toolchain_build_pnacl.py as explained on that page, and run the MIPS build (this will give you the PNaCl toolchain). You may want to try out nacl-clang for MIPS, which at the moment may not be fully functional, or look at the design document for nacl-clang which explains how to build a .pexe and translate it to a .nexe.

Upvotes: 3

Related Questions