LoginSignup
1
1

More than 5 years have passed since last update.

CやC++のコンパイル方法

Posted at

Macであれば clang というのが利用できるようだ(Xcode command line toolsをいれないと利用可能にならない? すでにインストール済みだったので検証していない)

コンパイルは以下のようにする。

c
clang HogeHoge.c -o Hogehoge
c++
clang++ HogeHoge.cpp -o Hogehoge  (C++)
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1