Author Topic: Code::Blocks on Ubuntu to greate a Linux Executable  (Read 4136 times)

Offline finston1

  • Single posting newcomer
  • *
  • Posts: 2
Code::Blocks on Ubuntu to greate a Linux Executable
« 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Code::Blocks on Ubuntu to greate a Linux Executable
« Reply #1 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