Author Topic: Cross compiling on Windows for Linux  (Read 755 times)

Offline grandzebu

  • Multiple posting newcomer
  • *
  • Posts: 12
Cross compiling on Windows for Linux
« on: November 02, 2020, 12:17:52 am »
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