[ale] gcc

Nick Lucent nlucent at mindspring.com
Tue Dec 22 18:32:39 EST 1998


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
> 
> 






More information about the Ale mailing list