Author Topic: Coding for Linux Ubuntu using Windows ??  (Read 2981 times)

NewCBUser123

  • Guest
Coding for Linux Ubuntu using Windows ??
« on: December 16, 2010, 02:31:55 pm »
Hello!

This might be a simple question but I don't know how to do this.

Basically, I use Codeblocks on a Windows PC. Now I want to create a program that runs on Ubuntu (Linux).
The program does not need to be "cross platform", it should just run under Ubuntu and I don't need it to run on Windows.

How does this work? It seems like Codeblocks produces an .exe but exes cannot be used on Linux.

Thanks in advance.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Coding for Linux Ubuntu using Windows ??
« Reply #1 on: December 16, 2010, 02:38:12 pm »
Two options:
1. Install ubuntu and compile it there (easiest would be to use virtual machine or another option is wubi or something like that).
2. Find cross compiler that can run on windows and can compile code for ubuntu (I doubt there is such a beast).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]