On 9/11/06, Rocky Ou <[EMAIL PROTECTED]> wrote:
On 9/11/06, Michael Marsh <[EMAIL PROTECTED]> wrote:
> On 9/11/06, Rocky Ou <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED]:~$ gcc good.c
> > gcc: good.c: No such file or directory
> > gcc: no input files
> > [EMAIL PROTECTED]:~$
>
> Silly question but, is there a file called "good.c" in that directory?
No. What I want to do is use gcc to make a file or start gcc.
That's not how gcc works. It's a compiler, not an interactive
application. You'll need to use either a text editor or an IDE to
create your source code files. gcc only works on existing and
complete files, which it then turns into either object files or
executables.
There are plenty of books and online tutorials that should tell you
the basics of writing C code.
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]