Hi,I am new to chromebook(or Chrome OS) development. I developed code(C/C++) on Ubuntu. I would like to port my existing Linux code(written in C/C++) to Chrome OS but not sure about how to proceed ..Couple of questions:1. Can I download Chromebook compiler tool-chain on Ubuntu and cross-compile code targeted for Chromebook(Chrome OS) ?
2. Do I need to purchase a Chromebook physical machine to develop code for Chrome OS (or) to deploy on a Chromebook machine?
3. Is developing code for chrome browser on Ubuntu anyway different from developing for Chromebook OS ?
--
You received this message because you are subscribed to a topic in the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/native-client-discuss/Fh_k6ZfWJKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
Thanks Ben.Couple of questions:1. If I would like to deploy a NaCL process(exe) on chromebook, Is it possible ( I mean independent of Chrome browser) ? To deploy a process in Chromebook, Do I need to copy my code to chrome os repository & build with it ( just like downloading Android AOSP and building our code as part of it ?)
2. Do I have to always use Pepper API to develop a NaCL/PNaCL code ? Can I use OS api directly( as Chrome OS is also a Linux variant) ?
3. Is Chrome OS C/C++ runtime same as Linux(Ubuntu) runtime ? I mean, Is glibc(c runtime) present on Chrome OS too ? Is there any difference between Chrome OS C/C++ runtime & Linux(Ubuntu) OS C/C++ runtime ?
4. Are there any articles (or) tools available to port a Linux(Ubuntu) C/C++ code to Chrome OS ?
thanks kishore
On Fri, Apr 8, 2016 at 2:10 PM, Ben Smith <bi...@chromium.org> wrote:
Hi Kishore Koney,On Tuesday, April 5, 2016 at 4:21:00 PM UTC-7, Kishore Koney wrote:Hi,I am new to chromebook(or Chrome OS) development. I developed code(C/C++) on Ubuntu. I would like to port my existing Linux code(written in C/C++) to Chrome OS but not sure about how to proceed ..Couple of questions:1. Can I download Chromebook compiler tool-chain on Ubuntu and cross-compile code targeted for Chromebook(Chrome OS) ?You can develop using the toolchain in the Native Client SDK. It can generate Native Client executables for x86 32-bit, x86 64-bit and ARM 32-bit, which will cover all existing Chrome OS devices. You can also build using the PNaCl toolchain to generate a Portable Native Client Executable which will be translated on device to the correct architecture.2. Do I need to purchase a Chromebook physical machine to develop code for Chrome OS (or) to deploy on a Chromebook machine?It would probably be best to have a Chromebook for testing, yes. But you can do most of your development without it, by running the NaCl or PNaCl executable directly or your Linux machine.3. Is developing code for chrome browser on Ubuntu anyway different from developing for Chromebook OS ?IIRC, there are some Chrome apps APIs that are only exposed to Chrome OS. And often the Chromebook will be using an ARM CPU, whereas your desktop is likely a x86_64 CPU. Chromebooks have much less memory than your desktop too. In general the development process should be mostly the same, though.Any help regarding developing C/C++ code targeted at Chrome OS ?thanks for your help.kishore koney
--
You received this message because you are subscribed to a topic in the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/native-client-discuss/Fh_k6ZfWJKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to native-client-discuss+unsub...@googlegroups.com.
thanks kishore
To unsubscribe from this group and all its topics, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/native-client-discuss/Fh_k6ZfWJKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to native-client-di...@googlegroups.com.