By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

what is the corect syntax for gcc<source code.o> -o <file name> in command prompt

P: 1
[IMG]E:/TARUN/source file[/IMG]
Oct 13 '10 #1
Share this Question
Share on Google+
1 Reply


ashitpro
Expert 100+
P: 542
IF we have test.c file, then

gcc test.c -o test_exec

here, test_exec is final executable.
Oct 13 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.