User forums > Using Code::Blocks

Coding for Linux Ubuntu using Windows ??

(1/1)

NewCBUser123:
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.

oBFusCATed:
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).

Navigation

[0] Message Index

Go to full version