codebuilds icon indicating copy to clipboard operation
codebuilds copied to clipboard

Using Microsoft C/C++ extension via "emulation"?

Open natevw opened this issue 6 years ago • 3 comments

I would like to use the official C/C++ extension on my Chromebook, but it fails to install when I click the button from within the Code-OSS extensions tab.

This wasn't a major surprise since "The extension has platform-specific binary dependencies" and only the four big build targets (Windows, macOS, Linux 32-bit, Linux 64-bit binaries) are mentioned. So I figured that was the end of that, until I noticed this in the Code-OSS FAQ:

Any dependencies that are not local to your architecture (e.g. x86 binary code on an ARM chromebook) will be emulated to ensure compatibility [...]

What's this now?? Is this something added on by this project or does the mainline VSC provide some sort of cross-CPU emulation? That seems pretty ambitious, but I'm wondering if I can take advantage of it for this C/C++ plugin. If so, which of the four available "offline" VSIX options would be the best to try it with?

natevw avatar Sep 20 '19 21:09 natevw

Based on the subjunctive tense in the recent https://github.com/microsoft/vscode/issues/1031#issuecomment-563236471 posting my guess is that the FAQ text was a Forward Looking Statement at that time too :-)

natevw avatar Dec 10 '19 23:12 natevw

I had this working quite some time back but there were changes in the upstream builds that broke it and it kind of fell by the wayside.

It’s not a big job to do (one of my other repos, Archie, uses this extensively to produce these builds), but I’m kind of wondering if it belongs better in a separate script for people that need it.

I’m going to look at this next and will update this ticket when I have something for you to test.

headmelted avatar Dec 11 '19 20:12 headmelted

Ah, okay! Thanks for the clarification/pointers and welcome back :-)

natevw avatar Dec 12 '19 00:12 natevw