Like the error says, you need to tell it which file(s) to compile. If I have a simple hello world program stored in hello.c, to compile it, I'd just run "gcc hello.c -o hello". The -o option allows you to supply a file name for the executable, rather than using the default, which is a.out. Edit: if you're looking for an integrated development environment (IDE), you may want to try Anjuta, KDevelop or Eclipse (and there are others, too).
Last edited by Nylex; 01-03-2008 at 09:48 AM.
|