I'd like to program some Ansi-C on a Surface Pro X. On my Computer I just set up VS Code as an editor and installed Msys2 which comes with the GCC. But the same won't work on the Surface Pro X, cause if the processor architecture as I understand (correct me if I'm wrong). So my question is: How can I compile and run C on a Surface Pro X and also check for Ansi C conformity. It also would be nice to be able to work in VS Code. Also is this a general problem of the Surface Pro X? Would those issues also appear when trying to program java or python?
How to compile and run C on a Surface Pro X?
247 Views Asked by KlonAnon At
1
There are 1 best solutions below
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in ANSI-C
- All struct identifiers are automatically forward declared
- Array of constant pointers to functions
- Translational Limits on Enum Constants
- Reading optional white spaces in sscanf()
- Why don't I get a warning when I declare a variable with same name in a macro that already exists in a function?
- Enumerating executable files in C
- Is post-increment operator guaranteed to run instantly?
- How to change a compiler behaviour when getting a struct member via invalid pointer
- How do I open and use old ANSI C code from 1996 on a Mac?
- Native ANSI C library from .NET Framework >= 4 on 64 Bit
- C - Grade boundary program, potential run time error?
- Fault in decimal to binary in c
- Save data to file before program will close not after
- malloc, recasting and free
- How to use strsignal and WCOREDUMP in ANSI C?
Related Questions in SURFACE-PRO
- Camera Screen is getting black in Surface pro 9 with vufforia AR in Unity
- How to recognize Surface Pro Pen in flutter dektop application
- Best Browser to keep a Kiosk open for weeks at a time
- Clonezilla script fails: Unable to find target hard drive
- How to compile and run C on a Surface Pro X?
- C# Webview2 control on a Microsoft Surface Pro
- Sending picture from my phone (iOS) to Surface Pro (Windows 10) via BLE
- Can't get correct values for touch.rotationAngle or touch.force on Surface Pro 4
- How to emulate Surface Pro 4 in browser
- Small icons in ParaView, Surface pro 6 Linux
- depth and infrared frame on a surface pro
- obtaining the infra red camera frame in a surface pro
- Why is the ability to publish not available in VS 2017 on new surface pro
- Debugging on a Surface Tablet of UWP Application
- Psychopy on Surface Pro 6: Can touchscreen be used to press AND hold a button similar to a mouse click?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't have a Surface Pro X or any other ARM Windows device, however it should be possible to use VS Code since there has been a Windows on ARM version since May 2020 (download on the usual Visual Studio Code download page). I am not sure on what development environments are available for Windows on ARM, but you could always install WSL (the Windows subsystem for Linux) where you can then install pretty much anything you want. You can then link your VS Code to your WSL and work there. To install development tools for any language you would then follow instructions on how to install that environment for Linux (eg. using apt-get for Debian and it's derivatives like Ubuntu).
To install basic development tools for Java and C/C++ in WSL type
sudo apt install default-jdk default-jre gcc g++, python is generally already installed in a linux environment.