[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] gcc
- Subject: [ale] gcc
- From: William.Heaton at West.Boeing.com (Heaton, William P)
- Date: Tue, 22 Dec 1998 06:51:01 -0800
gcc -o foo foo.c
Phil Heaton - Boeing Metrology
(770)497-5565 - Lab
(404)726-5769 - Pager
> ----------
> From: Tri[SMTP:merlintm at atlnet.com]
> Sent: Tuesday, December 22, 1998 9:15 AM
> To: ale at cc.gatech.edu
> Subject: [ale] gcc
>
> 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
>