How to use a linux server as a target for my C code written on a different (Windows) machine. Including step by step debugging and etc... All that with Eclipse Env.

closed as unclear what you're asking by jasonwryan, Michael Homer, cuonglm, maxschlepzig, Gilles Jul 4 '15 at 12:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    You have to be more specific. No one knows what you really want. I can just guess you want the Linux machine as a server for remote debugging. That can somehow be concluded from the context, but you should exactly ask about what you want to do. – ikrabbe Jul 4 '15 at 10:09

You can write your code wherever you want, it's just text files.

If you wish to compile the code for a platform that is different from the one on which the compiler runs, then you need a cross compiler (by definition).

Cross compilers are commonly used to build code using powerful desktop computers than targets resource-limited embedded systems including smartphones.

Using Cygwin perhaps, you can most likely build gcc as a cross compiler to run on MS Windows and generate code for Linux amd64 (for example). Getting the whole toolchain up and running won't be trivial as you need include files and cross-compiled versions of basic libraries and more before you can start actually developing. You may want to look for someone who has already built and packaged all that.

Not the answer you're looking for? Browse other questions tagged or ask your own question.