Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Progman3K on May 03, 2023, 07:01:18 pm

Title: Debugging Windows (mingw) apps on Linux
Post by: Progman3K on May 03, 2023, 07:01:18 pm
Hi,

I'm running the linux-native v20.03 on linux.

I want to create a MinGW Windows project with the IDE, but it appears to not be an option. Is it possible to do so?

Once it is created, is it also possible to run the app and debug it on linux using the IDE?

Thanks
Title: Re: Debugging Windows (mingw) apps on Linux
Post by: BlueHazzard on May 08, 2023, 10:54:18 pm
You would have to do it by hand...

1) Create an empty project, or console project (i think more complex projects would not run)
2) Configure the compiler in Settings->Compiler, create a new one and add the mingw compiler executables in the settings
3) have fun...

If you are still interested and need a more detailed description ping here