Running C Code in Chromebook on Normal Mode.

2,146 views
Skip to first unread message

Gokul vellingiri

unread,
Oct 29, 2018, 3:48:23 AM10/29/18
to Chromium OS Discussion
I know it is possible to compile and run C/C++ code in Chromebook by enabling Developer Mode. But is it possible to run a C code(Say "Hello World") in Normal Mode ?

Ihor Dvoretskyi

unread,
Oct 29, 2018, 3:50:27 AM10/29/18
to vgok...@gmail.com, Chromium OS Discussion
It's possible with Crostini on the supported models - https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md 

On Mon, Oct 29, 2018, 7:48 AM Gokul vellingiri <vgok...@gmail.com> wrote:
I know it is possible to compile and run C/C++ code in Chromebook by enabling Developer Mode. But is it possible to run a C code(Say "Hello World") in Normal Mode ?

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium OS Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.

Gokul vellingiri

unread,
Oct 29, 2018, 5:10:15 AM10/29/18
to Chromium OS Discussion, vgok...@gmail.com
Thanks Ihor for your reply. Yes I was able to install Linux Terminal App on Chromebook. But seems like this does pose lots of restriction. /dev/video0 nodes was not able to access, which i need for one of my project. 

However in developer mode I accessed the file descriptor and developer a C Code. Is there any way i can get the exact replication of my Developer Mode shell.

Mike Frysinger

unread,
Oct 29, 2018, 12:20:24 PM10/29/18
to vgok...@gmail.com, Chromium OS Discussion
there is no support currently for passing through V4L2 devices to crostini. we're working on USB pass thru ATM.

so today, what you want to do requires dev mode.
-mike

On Mon, Oct 29, 2018, 05:10 Gokul vellingiri <vgok...@gmail.com wrote:
Thanks Ihor for your reply. Yes I was able to install Linux Terminal App on Chromebook. But seems like this does pose lots of restriction. /dev/video0 nodes was not able to access, which i need for one of my project. 

However in developer mode I accessed the file descriptor and developer a C Code. Is there any way i can get the exact replication of my Developer Mode shell.

--

Gokul vellingiri

unread,
Oct 31, 2018, 4:56:50 AM10/31/18
to Chromium OS Discussion, vgok...@gmail.com
Thanks Mike for your confirmation. When can i expect this feature roll-out from Chromium ? Any tentative time period ?

DennisLfromGA

unread,
Oct 31, 2018, 12:52:58 PM10/31/18
to Chromium OS Discussion, vgok...@gmail.com
Gokul,

You can star this crbug to track its progress, it looks to be targeted for M73:


And here's an article that talks about it:


~Denny

Gokul vellingiri

unread,
Nov 12, 2018, 1:04:31 AM11/12/18
to Chromium OS Discussion, vgok...@gmail.com
Thanks Denny for sharing the reference link.
Reply all
Reply to author
Forward
0 new messages