gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: OS X/objc2: is clang required to build GNUstep-base?


From: Maxthon Chan
Subject: Fwd: OS X/objc2: is clang required to build GNUstep-base?
Date: Mon, 03 Jun 2013 03:29:54 +0800



下面是被转发的邮件:

发件人: Maxthon Chan <address@hidden>
主题: 回复: OS X/objc2: is clang required to build GNUstep-base?
日期: 2013年6月3日 GMT+0800上午3时29分01秒
收件人: Frank Rehwinkel <address@hidden>

1) Do you have Xcode installed? I mean Xcode 4.6.2.
2) If you have Xcode installed, do you have command line tools then?
3) Have you tried build with CC="xcrun clang" CXX="xcrun clang++"? The xcrun script will find the appropriate clang and pass the appropriate compiler flags to it make sure you are linking against the correct version of libraries in the SDKs Apple provided. (At least you still need libc and libc++, right?)

在 2013-6-2,下午10:35,Frank Rehwinkel <address@hidden> 写道:

Want to check some assumptions I'm making.

To get the latest objc2 built on OS X, clang is either preferred or required although there are other considerations that still need addressing.

To build GNUstep-base, to be linked with the objc2 library later on, it should be built against the objc2 library.

And to build against the objc2 library, -base needs to be built with clang because only clang supports the -fobc-runtime=gnustep option.

I'm running into issue after issue with compiling -base using a new clang on OS X and just wanted to make sure I don't have the option of building it with the gcc on OS X if my goal is to use the -base library with clang and objc2.

Thanks,
-Frank
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]