LoginSignup
0
2

More than 3 years have passed since last update.

Apple clang の include path

Last updated at Posted at 2018-03-21

こんにちは。
Apple clang のデフォルトの include path は、バージョンによって(?)、/usr/local/include を見に行かないようです。その場合、環境変数を設定すれば良さそうです(調査中)。なお、clang-9.0.0 はデフォルトで見に行きます。

$ export C_INCLUDE_PATH=/usr/local/include
$ export CPLUS_INCLUDE_PATH=/usr/local/include
$ gcc -v
Apple LLVM version 8.0.0 (clang-8.0.0.8000042)
0
2
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
0
2