Q Getting started: NaCl for ARM

205 views
Skip to first unread message

Mike Acton

unread,
Jan 18, 2013, 9:14:30 PM1/18/13
to native-cli...@googlegroups.com
Hey guys, 

(Ironically?) since getting my Chromebook, I've not done any NaCl stuff since it's ARM-based. I understand that there's some support for it - Are there two competing solutions (pnacl, nacl/arm)?

Q: What's the best way to get started (or best pages to start reading) to do get NaCl working for ARM?

Thanks,

Mike.

montonero

unread,
Jan 21, 2013, 7:20:35 PM1/21/13
to native-cli...@googlegroups.com
Hi Mike.
I agree - it's totally confusing.
Colt indirectly mentions NaCl for ARM when asked about limitations of Chromebooks:


Thus I guess that's the way to go.

Mike Acton

unread,
Jan 21, 2013, 7:27:53 PM1/21/13
to native-cli...@googlegroups.com
Cool. Thanks.

Colt McAnlisJan 15, 2013
+
1
2
1
+Igor M That's old info! Nacl 25 SDK comes complete with ARM toolchain!

It sounds like it should "just work" with Pepper 25.

Mike.

David Michael

unread,
Jan 22, 2013, 12:03:59 PM1/22/13
to native-cli...@googlegroups.com
Right, NaCl is supported for ARM in 25+, particularly on the ARM-based Samsung chromebooks (I don't think there are any other devices that support it yet). But as of right now, you still have to build a separate .nexe for each architecture you target. So to support all platforms where NaCl is available, you'd want to provide an x86-32 .nexe, x86-64 .nexe, and an ARM .nexe.

This allows you to squeeze the most performance you can out of each platform; e.g., if you want to do some custom (validatable) assembly. PNaCl will be a tradeoff where you can get native performance that's perhaps not quite as close to the metal, but you only need to provide one binary.



--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.

Noel Allen

unread,
Jan 22, 2013, 12:21:21 PM1/22/13
to native-cli...@googlegroups.com
To be clear, we have a version of ARM for newlib.  Generally, your could should just recompile.  We are still working on glibc for ARM.


-Noel

David Sehr

unread,
Jan 22, 2013, 12:41:28 PM1/22/13
to Native Client Discuss
To expand a little on the answers given by David and Noel, the release notes for M25 refer to the ARM toolchain:


Enjoy!  And feedback is, of course, always welcome.

David

Christian Stefansen

unread,
Jan 22, 2013, 4:29:49 PM1/22/13
to native-cli...@googlegroups.com
And to follow up: we just published a blog post on the Chromium blog about NaCl support on ARM. http://blog.chromium.org/2013/01/native-client-support-on-arm.html
Christian Stefansen
Reply all
Reply to author
Forward
0 new messages