Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: finston1 on April 04, 2013, 05:22:12 pm

Title: Code::Blocks on Ubuntu to greate a Linux Executable
Post by: finston1 on April 04, 2013, 05:22:12 pm
I have compiled and linked my code written in C and C++ and calling certain Windows APIs to a Win32 .exe using MinGW in Code::Blocks runnings on Windows XP. How do I use Code::Blocks on Ubuntu Linux to compile and link my code to create a Linux executable, please?


Thanks



Finston
Title: Re: Code::Blocks on Ubuntu to greate a Linux Executable
Post by: BlueHazzard on April 04, 2013, 06:33:12 pm
calling certain Windows APIs

this won't work. you will need a crossplatform framework or library like wxWidgets, QT, GTK, or poco (for non gui) http://en.wikipedia.org/wiki/Cross-platform

btw this is no c::b related question, and so offtopic