News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cross compiling on Windows for Linux

Started by grandzebu, November 02, 2020, 12:17:52 AM

Previous topic - Next topic

grandzebu

Hello,
I am using code::blocks on my main PC under Windows and I'm able to write Windows applications.
Now, I want write an application (command line) for Linux Debian.
Is it possible ? How to do ?
On the web you can only find the opposite : create a Windows program under Linux.
I'm just starting with the classic :

#include <stdio.h>
#include <stdlib.h>
int main()
{
    printf("Hello world!\n");
    return 0;
}

I think there is a target story ...
Thank you for your reply
GZ