Tuesday, March 14, 2000, 4:33:13 AM, you wrote:

DKA2S> I need help with gcc. Compiling a file gives no error but I 
DKA2S> cannot run it because bash reports "Command not found".

DKA2S> I would appreciate any help. THanks

DKA2S> ditesh

DKA2S> This message was sent using MMU Webmail (Cyberjaya) - http://webmail.mmu.edu.my



DKA2S> -
DKA2S> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
DKA2S> the body of a message to [EMAIL PROTECTED]
DKA2S> Please read the FAQ at http://www.linux-learn.org/faqs

gcc by default generates a.out file which is your program's
executable. If you want your executable to have another name you must
specify option -o<name>
example:
 gcc abc.c -o abc

-- 
Best regards,
Areg                            mailto:[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to