Jeff Flinn | 11 Nov 14:17
Favicon

[Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk

How do I specify that the osx 10.4 universal sdk is used when building
boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.

Using:

bjam --toolset=darwin architecture=combined link=static debug release stage

uses the 10.5 sdk, which causes problems when our app links with
boost::filesystem.

Thanks, Jeff

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Michael Jackson | 11 Nov 15:13
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk


On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:

> How do I specify that the osx 10.4 universal sdk is used when building
> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>
> Using:
>
> bjam --toolset=darwin architecture=combined link=static debug  
> release stage
>
> uses the 10.5 sdk, which causes problems when our app links with
> boost::filesystem.
>
> Thanks, Jeff

Interesting, What issues are you having with the link stage? By using  
the 10.4uSDK you are basically saying that your application should  
only work on 10.4. If it works on 10.5 you are lucky.

If you want to be able to run on 10.4 and 10.5 then you need to set  
the SDK to 10.5 but the deployment target to 10.4 so that GCC performs  
weak linking to the SDKs.

from the following web page: <http://public.kitware.com/Bug/view.php?id=6195 
 >
----------------------------------------------------------------------
Adjusting the SDK value has this effect.

"The name or path of the base SDK being used during the build. The  
(Continue reading)

Jeff Flinn | 11 Nov 15:21
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk

Thanks Michael & Vladimir.

I'll have to study up on the provided link.

Thanks, Jeff

Michael Jackson wrote:
> 
> 
> On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:
> 
>> How do I specify that the osx 10.4 universal sdk is used when building
>> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>>
>> Using:
>>
>> bjam --toolset=darwin architecture=combined link=static debug release 
>> stage
>>
>> uses the 10.5 sdk, which causes problems when our app links with
>> boost::filesystem.
>>
>> Thanks, Jeff
> 
> 
> Interesting, What issues are you having with the link stage? By using 
> the 10.4uSDK you are basically saying that your application should only 
> work on 10.4. If it works on 10.5 you are lucky.
> 
> If you want to be able to run on 10.4 and 10.5 then you need to set the 
(Continue reading)

Jeff Flinn | 11 Nov 15:43
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk

Michael Jackson wrote:
> 
> On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:
> 
>> How do I specify that the osx 10.4 universal sdk is used when building
>> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>>
>> Using:
>>
>> bjam --toolset=darwin architecture=combined link=static debug release 
>> stage
>>
>> uses the 10.5 sdk, which causes problems when our app links with
>> boost::filesystem.
> 
> Interesting, What issues are you having with the link stage? By using 
> the 10.4uSDK you are basically saying that your application should only 
> work on 10.4. If it works on 10.5 you are lucky.

filesystem has unresolved symbols for _open/_close/_read/_write when 
linking our app with filesystem static libs.

Jeff

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Michael Jackson | 11 Nov 15:44
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk


On Nov 11, 2008, at 9:43 AM, Jeff Flinn wrote:

> Michael Jackson wrote:
>> On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:
>>> How do I specify that the osx 10.4 universal sdk is used when  
>>> building
>>> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>>>
>>> Using:
>>>
>>> bjam --toolset=darwin architecture=combined link=static debug  
>>> release stage
>>>
>>> uses the 10.5 sdk, which causes problems when our app links with
>>> boost::filesystem.
>> Interesting, What issues are you having with the link stage? By  
>> using the 10.4uSDK you are basically saying that your application  
>> should only work on 10.4. If it works on 10.5 you are lucky.
>
> filesystem has unresolved symbols for _open/_close/_read/_write when  
> linking our app with filesystem static libs.
>
> Jeff
>
>

I may be stating the obvious but 'filesystem' is dependent on 'system'  
so you need to link both of those into your application... Just  
checking..
(Continue reading)

Jeff Flinn | 11 Nov 15:53
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk

Michael Jackson wrote:
> 
> On Nov 11, 2008, at 9:43 AM, Jeff Flinn wrote:
> 
>> Michael Jackson wrote:
>>> On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:
>>>> How do I specify that the osx 10.4 universal sdk is used when building
>>>> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>>>>
>>>> Using:
>>>>
>>>> bjam --toolset=darwin architecture=combined link=static debug 
>>>> release stage
>>>>
>>>> uses the 10.5 sdk, which causes problems when our app links with
>>>> boost::filesystem.
>>> Interesting, What issues are you having with the link stage? By using 
>>> the 10.4uSDK you are basically saying that your application should 
>>> only work on 10.4. If it works on 10.5 you are lucky.
>>
>> filesystem has unresolved symbols for _open/_close/_read/_write when 
>> linking our app with filesystem static libs.
>>
>> Jeff
>>
>>
> 
> I may be stating the obvious but 'filesystem' is dependent on 'system' 
> so you need to link both of those into your application... Just checking..

(Continue reading)

Phillip Seaver | 11 Nov 16:09
Favicon

Re: [Mac XCode 3.1.1][boost_1_37_0] use MaxOSX10.4u.sdk

Michael Jackson wrote:
>
>
> On Nov 11, 2008, at 8:19 AM, Jeff Flinn wrote:
>
>> How do I specify that the osx 10.4 universal sdk is used when building
>> boost_1_37_0 on Max OSX 10.5.5 and XCode 3.1.1.
>>
>> Using:
>>
>> bjam --toolset=darwin architecture=combined link=static debug release
>> stage
>>
>> uses the 10.5 sdk, which causes problems when our app links with
>> boost::filesystem.
>>
>> Thanks, Jeff
>
>
> Interesting, What issues are you having with the link stage? By using
> the 10.4uSDK you are basically saying that your application should
> only work on 10.4. If it works on 10.5 you are lucky.
>
> If you want to be able to run on 10.4 and 10.5 then you need to set
> the SDK to 10.5 but the deployment target to 10.4 so that GCC performs
> weak linking to the SDKs.
>
>
> from the following web page:
> <http://public.kitware.com/Bug/view.php?id=6195>
(Continue reading)


Gmane