[fbcocoa] Re: [fbcocoa] Development

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2012 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Thu, 9 Feb 2012 20:17:41 +1300
Brian S wrote:

> SVanVoorst wrote:
> 
>> Please excuse my ignorance, but if FB has some QuickDraw code and Lion took away the headers, how does it even run in 10.7?
> FB only needs the QuickDraw headers for linking and since we link against 10.5 libraries the QuickDraw headers are there. The headers ( .h files ) are missing in Lion. 

To be pedantic, headers are used in compilation only. Linking is a later step.

In Lion, unless you smuggle in an old Xcode 3 developer folder, every app that FB makes is built against /Developer/SDKs/MacOSX10.6.sdk. This SDK contains full QuickDraw headers.

> Execution is a different matter. The QuickDraw framework( which is separate and different from the headers ) DOES exist in Lion, so therefore execution works.

Again to be pedantic, the headers exist inside the framework, along with the executable library code.

Robert P.