The purpose of -o is to specify the name of the program produced by clang. But what does it stands for?

  • output file maybe?
    – kzidane
    Commented Oct 19, 2014 at 14:53

1 Answer 1


It is , as Kareem stated, output file.

If you type man clang in the terminal, you can find the following:

   -o file
       Write output to file.

And pretty much everything about clang, including other what flags stand for.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .