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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TARUN KUNDHIYA
    New Member
    • Oct 2010
    • 1

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

    [IMG]E:/TARUN/source file[/IMG]
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    IF we have test.c file, then

    gcc test.c -o test_exec

    here, test_exec is final executable.

    Comment

    Working...