This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: command line help
- From: lrtaylor at micron dot com
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 8 Dec 2004 11:56:05 -0700
- Subject: RE: command line help
If you're on Linux or some flavor of UNIX, you might also try looking at
the man page.
man gcc
Or take a look at the online documentation for GCC. Go to
http://gcc.gnu.org/ and click on the Manual link under Documentation in
the menu on the left.
You might also seriously consider going to a local bookstore and getting
a book about software development on Linux or something similar.
Another poster on the list has even written an introductory book about
using GCC. You might take a look at that:
http://www.network-theory.co.uk/gcc/intro/
Thanks,
Lyle
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Brian Rose
Sent: Wednesday, December 08, 2004 11:49 AM
To: gcc-help@gcc.gnu.org
Subject: Re: command line help
tinettim@gdls.com wrote:
> At the command line I can type help to get a list of topics but they
scroll
> of the screen so I can't see them all and I can't find their
explanations
> on your web site. What command do I use to get it to compile? Source?
What
> directory should I be in when I compile and what subdirectories should
I
> have.
>
gcc --help | more
Simple C program in hello.c would be compiled into an executable called
'program' like this....
gcc -o program hello.c
--
Brian