[ale] gcc
Jim Lynch
jwl at sgi.com
Tue Dec 22 09:48:58 EST 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
gcc -o color color.c
--
To see my .signature file, go to http://reality.sgi.com/jwl
More information about the Ale
mailing list