Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: NewCBUser123 on December 16, 2010, 02:31:55 pm

Title: Coding for Linux Ubuntu using Windows ??
Post by: NewCBUser123 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.
Title: Re: Coding for Linux Ubuntu using Windows ??
Post by: oBFusCATed 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).