@GRIM2D

Сборка GNUStep на OSX El Capitan. Почему ругается на ObjC Compiler?

Мне нравится язык Objective-C, и хотел бы написать кроссплатформенные программы на нем. Нашел в интернете GNUStep, скачал с официального сайта последние исходники. gnustep-make скомпилировался без проблем. Теперь надо gnustep-base.

Но, проблема в том, что gnustep-base не компилируется на OSX. В интернете прочел, что родной Apple LLVM не совместим с gnustep. поэтому установил gcc-5 через Homebew.

Как компилирую:

$./configure CC=gcc-5
checking build system type... i386-apple-darwin15.2.0
checking host system type... i386-apple-darwin15.2.0
checking target system type... i386-apple-darwin15.2.0
checking for GNUstep configuration file to use at runtime... /Library/GNUstep/GNUstep.conf
checking whether the GNUstep.conf file path can be set in the environment... yes
...
checking for gettid()... no
checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries!  Please check your Objective-C compiler installation.
If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for more help.
configure: error: The Objective-C compiler does not work or is not installed properly.
  • Вопрос задан
  • 132 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы