Clearly, you can run Code Server on a Linux host, or with WSL on a Windows host. Either will provide a Linux run-time environment for your code. I have 2 projects with 3rd party Windows binary dependencies which will not run on Linux. So, is there a way to get a Windows run-time using Code Server?
Related
I have ssh access to a remote linux server and no admin rights. The server does not have matlab installed and I need to run a few matlab scripts. Are there any ways by which I can run these scripts on the server ? I read a few links saying to download the matlab compiler or runtime but they do not have detailed instructions on how to proceed and even less so pertaining to remote servers.
Generally there are three options
install MATLAB (it is available for Linux but you need to have admin rights..)
box your scripts as distributables with the Application Compiler (as #UnbearableLigthness already mentioned). You will need to install the MATLAB Runtime on your Linux server to run those applications. However, you can package the runtime in the application (bulletpoint 3).
create C code with the MATLAB Coder and compile it on your Linux server. This requires no installation but does not support all functions (e.g. most constrained optimization algorithms are not supported)
I would like to attach to a remote gdb-server which is running under linux. Actually it is an ARM process which is running in a QEMU under a linux host.
And I use Visual studio code for the debugging under windows.
Is it generally possible to do so?
I have setup the visual studio code under another linux machine and try to connect to the remote gdb-server and it works well.
But the visual studio code under windows doesn't work.
I think conceptually it should be possible to debug this process. Because it is an ARM process but it is just running under QEMU under linux and if I have the corresponding toolchain in window, then it should be no different, right?
Then the question might be which tool-chain is needed to be installed under windows (under linux I installed aarch64-linux-gnu)?
In the visual studio code, I need to specify the gdb tool.
I found the toolchain here:
https://releases.linaro.org/components/toolchain/binaries/
And if I use the similar toolchain but for windows host, then it works well and I can attach to the process with no problem from the windows host.
Unfortunately, I do not find a solution for my problem in this similiar question.
I have a server with special hardware and a special (GNU-compatible) toolchain. I can only access this server via SSH.
Now I try to set up a development system with Eclipse. Is it possible to set-up a configuration to be able to build and debug via SSH as if the program would run on my local computer? And if yes, could you tell me a little bit about it? ;-)
Provided your server is a Linux machine running a X server, you may want to look around SSH -X.
Install Eclipse on your server
Install an X11 environment on your client (e.g. for Windows: XMing)
Connect to SSH with the -X option (e.g. for Windows, there is a checkbox on Putty)
Launch Eclipse from the ssh connection.
I'm running on Windows 7 and I want to be able to access the remote linux server at my school to run eclipse and do my programming assignments.
I installed cygwin, and ssh into the server, but whenever I run the "eclipse" command, it says "Eclipse: Cannot open display".
Is there any additional software I need to do, or commands I need to run in order to display the gui from my windows 7 computer?
aside from just running eclipse on my own computer, I want to do it remotely.
thank you
You need to:
Run an X server on your Windows machine; there's an xorg-server package in cygwin, use that (or the independent Xming).
Configure your ssh client to forward X11 traffic to the X server on your windows machine.
Here's a more detailed tutorial on doing this.
I'm using Eclipse CDT Indigo. I read few advices how to use cross-debugging (Eclipse is on Windows, while compilation and debugging should be done on remote Linux machine). So far I was able to compile remotely on Linux, but I still can't figure out how to actually debug on remote machine. Is it possible at all (without Eclipse maybe)?
Btw Linux is a 64 bit CentOS and as far as I could find mingw64 is the only cross compiler available for it on windows. But from my experience it is sometime a bit too quirky. Is there a way to cross debug without a need for a cross compiler?
You need a gdbserver compiled for target machine, and a gdb compiled for host machine runing the target executable. If you have these two, then you can use wingdb add-on on visual studio to connect to gdb and gdbserver to remote debug from your windows machine. I found the following links helpful:
http://www.linux.com/archive/feature/12173
http://www.wingdb.com/docs/Pages/wg_dev_elinux.htm