microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

Linux ARM support #429

Closed atilimcetin closed 4 years ago

atilimcetin commented 7 years ago

Is it possible to add support for Linux on ARM CPUs?

sean-mcmanus commented 7 years ago

Do you mean running VS Code on ARM CPUs? That doesn't work as far as I know. You can target an ARM CPU for debugging.

atilimcetin commented 7 years ago

I've built VS Code on ARM Linux and can use it without any problem. But cpptools is not working well because Microsoft.VSCode.CPP.Extension.linux is a x86-64 binary. I wonder if there is a way to obtain ARM version of that executable.

sean-mcmanus commented 7 years ago

Ok, that's interesting to know. It's theoretically possible to add, but we're not planning to currently (it hasn't shown up enough in our telemetry).

atilimcetin commented 7 years ago

I understand. Thank you.

arnaudbuy commented 6 years ago

+1, I am also interested ...

tehKaiN commented 5 years ago

At the moment of writing there are unofficial vscode builds for raspi and I had to use one to deploy some hotfixes on my app. Having this addon available in such build would simplify stuff when cross-compiling is out of option.

PodyNoo commented 5 years ago

i would be also interested in support for Linux on ARM CPUs

yorandrei commented 5 years ago

+1 It would be great to have it work on arm

bobbrow commented 5 years ago

Please make sure you add your +1 to the first comment so we can keep track. Thanks!

ghost commented 5 years ago

+1 here as well.

Dellyjoe commented 5 years ago

+1 here. Trying to use platformIO which depends on C/C++ Extensions. Sadly I guess I will have to wait, and can't code on my Tinkerboard

Thank you, Joe

sean-mcmanus commented 5 years ago

@Dellyjoe You could try using platformIO with a different IDE or with a different C/C++ extension that runs on arm. Even if we did build for arm, our binary might use too many resources for the arm device to handle.

tehKaiN commented 5 years ago

@sean-mcmanus ARM platforms are not limited to raspi though. There are lots of armhf boards which have more than 2GB of RAM and way more powerful CPU (e.g. RockPi 4, RockPro64)

MarkDunn-ObjectiveIntegration commented 5 years ago

+1 Running VSCode with clang-9 courtesy of 'headmelted'. on a Pine64 Although I have 'lldb-mi' and 'lldb-vscode' I have not yet found a working plugin for lldb

sean-mcmanus commented 5 years ago

@bobbrow Might be worth spending some cycles to scout what the blocking issues (if any) there are for building linux-arm/linux-arm64 binaries, and/or rechecking telemetry on what the usage of VS Code ARM is currently.

michalsc commented 5 years ago

+1 on this. When I develop code for ARM with VS Code and cpptools I usually use armhf/aarch64 crosscompilers. However, it would be nice to be able to work on ARM directly (RPi4/RockPro64 for example) using Remote Extension and C/C++ Tools.

Souldat commented 5 years ago

Just wanted to voice my upvote for this as well. Would be really huge considering the newly added SSH remote debug / development in the latest version of visual studio code for working with systems like the raspberry pi from windows.

atyshka commented 5 years ago

+1 on this. Now that experimental support for armv7 is being added for raspberry pi in VSCode remote development, adding support in this extension would be a logical next step. arm64 support would also be great for those of us developing with the Jetson family of boards.

TrevorMuraro commented 5 years ago

Also +1 - I was looking for a good remote development toolkit for an embedded Linux project (developing on a pi), and this would be a great thing to have.

jonk6 commented 5 years ago

+1 on this from me too. SSH remote debug from within visual studio code for working with systems like the raspberry pi would also be a winner!

bcatalin commented 5 years ago

+1 with the new RPi 4 this is opening a lot of possibilities

ITotalJustice commented 5 years ago

+1 from me too

capelenglish commented 5 years ago

+1 for support of armhf.

sewonist commented 5 years ago

+1 with Nvidia Jetson. It's really need!!!

kristsm commented 5 years ago

+1 from me too

Souldat commented 5 years ago

giphy

fonkle commented 5 years ago

+1 for Linux ARM support.

taxuewill commented 5 years ago

+1 for Linux ARM support.

AndreasKunar commented 5 years ago

+1 for Linux ARM support - especially, now that VScode begins to support remote development for the Raspberry Pi

weety commented 5 years ago

+1 for Linux ARM support. Bested support for raspberry pi 4.

Souldat commented 5 years ago

Is there any news on this @sean-mcmanus?

sean-mcmanus commented 5 years ago

@Souldat Not really. We were able to build our extension for ARM, but there were other issues, so the work got post-poned till later.

peterwaller-arm commented 5 years ago

I note that support just landed in vscode remote insiders. Would be excellent to be able to use cpptools.

johnemaddox commented 5 years ago

+1 for cpptools ARM support

martinrbowman commented 5 years ago

Adding +1 for cpptools support for ARM. Target is raspberry Pi devices. Would prefer to use VSCode in Linux than Visual Studio, works very well in Visual Studio so thank you for that.

krisklau commented 5 years ago

Yes!

ednl commented 5 years ago

+1 for Linux arm32hf support, aka. Raspberry Pi (current OS Raspbian 10.1 Buster 32-bits)

lilealyh commented 5 years ago

+1 for cpptools ARM support

radionerd commented 5 years ago

+1 for cpptools ARM support

bobbrow commented 5 years ago

Please add a 👍 to the first comment instead of replying with "+1". This will make sure your vote is being counted.

radionerd commented 5 years ago

Thanks Bob, I still have lots more to learn. Please keep the advice coming :-)

jimying commented 5 years ago

+1 need support armhf for old pi & arm64 for pi4

Gorbykov commented 5 years ago

+1 for NVIDIA Jetson support.

mdmorar commented 5 years ago

+1 for NVIDIA Jetson Support

tjohnsonhvac commented 5 years ago

+1 for armhf

zeved commented 5 years ago

this would be really really usefull as I just managed to install VS Code on a Jetson Nano but I can't use the C++ tools :(

+1 for ARM support

mdmorar commented 5 years ago

+1 for Nvidia Jetson Support for JetPack 4.2 and up +1 for ARM64 support

movingChurch commented 5 years ago

+1

ebarti commented 5 years ago

In the meantime, if you have a machine with windows installed, I recommend you follow:

https://code.visualstudio.com/docs/remote/remote-overview

or, if you have Visual studio:

https://devblogs.microsoft.com/cppblog/linux-development-with-c-in-visual-studio/

I got tired of waiting for cpptools to be compatible with ARM, so I am now using my fully featured VS to develop all code that goes into my Raspberry Pi 4. Impressive integration, kudos to Microsoft.

ajuric commented 5 years ago

Need this desperately for Nvidia Xavier.

C++ development (which needs to be done on the platform because of testing) is just impossible without IntelliSense and debugging.

Furthermore, I'm also using ROS extension, which depends on this vscode-cpptools, meaning that I cannot even use that ROS extension.