Hi use gcc -c <yourfile>.c. The object files have extensions .o and not .obj like dos. Bye Shridhar On Mon, 27 Mar 2000, rajput g v be comp 56 wrote: > hi, > when i give gcc <file-name> ,it gives the ./a.out directly, > is there any way i can create an object file (filename.obj) of a C > program. > > Gaurav.Rajput > <[EMAIL PROTECTED]> ----------------------------------------------------------------------- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.