Включить LLVM + Clang в новом проекте Xcode вызывает ошибки компоновки

Я полностью удалил XCode, удалил настройки, удалил папку complete / Developer и заново установил XCode.

Я создаю новое приложение Cocoa, перехожу к Target, выполняю «Get info» в цели и включаю «C компилятор версии C / C ++» для «LLVM compiler 1.0.2» и нажимаю Build.

Я получил:

ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64' following -L not found
ld: warning: directory '/usr/lib/i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../..' following -L not found
ld: library not found for -lgcc
Command /Developer/usr/bin/clang failed with exit code 1

Кто-нибудь может помочь мне здесь? Интерфейс LLVM + GCC работает, но я действительно хотел бы использовать Clang (компилятор LLVM 1.0.2). Новая установка XCode, новый проект Cocoa по-прежнему имеют эту проблему.

Ответы на вопрос(2)

Ваш ответ на вопрос