compiled binary not running (Fedora 13)

I have just converted from ubuntu to fedora. I installed codeblocks ide and gcc with c++ support from the Add/Remove software window.Whenever I compile something from within codeblocks, it compiles correctly but the binary refuses to run.It has a permission to execute.
I have never compiled something in terminal;how can I do so?
Last edited on
to compile a simple standalone use the
default make settings. no makefile needed.

source is prog.cpp or prog.c

 
make prog

What should I do when I need to compile many files together, say a huge project?
What do you mean by "refuses to run"? What is the error message? (run it in a terminal to see)
Last edited on
That is what puzzling me, it shows nothing.
When given ./prog it simply shows the next shell prompt.
and when run within the codeblocks ide, the ide seems to think that it is running in xterm, whereas not a single terminal opens up.
Last edited on
Topic archived. No new replies allowed.