This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Need help
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Re: Need help
- From: "Martin Kalen" <martin dot kalen at todaysystems dot com dot au>
- Date: Mon, 2 Jul 2001 15:30:19 +1000
- Organization: TODAY Systems, Inc.
----- Original Message -----
From: "Jules FOSSO" <fosso@firemail.de>
> What command line(s) should i give on the bash in oder to have an
> executable programm?
I think what you are looking for is the "-o [name of executable]"
option, eg:
# gcc -o hello hello.c
or:
# gcc -c module.c
# gcc -o hello hello.c module.o
If you do not specify the -o option you would end up with an
executable named "a.out".
See "man gcc" for more information on these flags.
Regards,
Martin.