[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] gcc
- Subject: [ale] gcc
- From: jwl at sgi.com (Jim Lynch)
- Date: Tue, 22 Dec 1998 09:48:58 -0500
Tri wrote:
>
> When I compile a file using gcc, the compiled binary file is
> automatically named a.out. How do I get gcc to name the output file the
> original name of the source file?
> for example:
>
> gcc color.c
> ( this results in a file named a.out)
>
> instead I want it to do this
>
> gcc color.c
> (this results in a file named color)
>
> Thanks
> Tri
gcc -o color color.c
--
To see my .signature file, go to http://reality.sgi.com/jwl