News:

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

Main Menu

Code::Blocks on Ubuntu to greate a Linux Executable

Started by finston1, April 04, 2013, 05:22:12 PM

Previous topic - Next topic

finston1

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

BlueHazzard

Quote from: finston1 on April 04, 2013, 05:22: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