[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
then GCC Example.c produces an executable called a.out ?
You want the -o option which defaults normally to a.out so... gcc -o foobar Example.c Will produce an executable call foobar.
read the man pages for GCC but can't find any explanation.
I had a quick skin thought the man pages, and admit I didn't see the -o option. Pete Hatton --------------------------------- E-mail: pete@xxxxxxxxxxxxx Webpage: http://www.monolight.org --------------------------------- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.