[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] gcc
- Subject: [ale] gcc
- From: nlucent at mindspring.com (Nick Lucent)
- Date: Tue, 22 Dec 1998 18:32:39 -0500 (EST)
gcc -o name -O name.c
On Tue, 22 Dec 1998, 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
>
>