D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] GCC compilation?



lee quick wrote:

just taking first tentative steps into the strange world of C
does anyone know the answer to the following
i write a source file say : Example.c
then GCC Example.c
produces an executable called a.out ?
sure enough a.out works but why is it not called Example.out
of course i could rename a.out ,but why does it do this in the first place.
read the man pages for GCC but can't find any explanation.

I am also taking those steps. Or rather re-taking. I briefly played with C a few years ago but never got past copying examples from books...
As a matter of fact I decided that I would like to learn C/C++ only today.
Do you have a book on C? Would you recommend it? I have an old Borland book on Turbo C++ and it is clearly not intended for people like me!


Thanks,
David Johnson.

--
Microsoft Tech Support: Windows? Oh it does that sometimes.




-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.


Lynx friendly