In Unix also you can create the object file with -c oprtion in gcc. If you provide the option -o in gcc it will compile and link the object to executeable directly so. there no object file visible with option -o and elf(Executable link format) will generated with form of a.out.
Regards, Ravi chinna wrote: > > sorry in unix also obj creation is done..plz check once > > Hari > > Aravindhan Krishnan <[EMAIL PROTECTED] > <mailto:aravindhan.krishnan%40gmail.com>> wrote: Hi All, > > Whats the difference between .obj (Windows), .exe (Windows) and > a.out(Unix) file ? > > On building a C program on Windows we get an obj file as well as an exe. > but on Unix we get only an a.out file which is executable. > > Why are there no obj files on Unix? > > Aravindhan > >

