[ale] gcc

Heaton, William P William.Heaton at West.Boeing.com
Tue Dec 22 09:51:01 EST 1998


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
> 






More information about the Ale mailing list