Clang and Clang++ - Clang and Clang++ - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English

Execute the following commands to build and run a C or C++ program.

  • $ clang [command line flags] xyz.c -o xyz.out
    $ ./xyz.out
  • $ clang++ [command line flags] xyz.cpp -o xyz.out
    $ ./xyz.out