[SmartcardServices-Dev] Building using darwinbuild

William Siegrist wsiegrist at apple.com
Thu Jul 16 09:28:46 PDT 2009


On Jul 16, 2009, at 2:14 AM, Ludovic Rousseau wrote:

> 2009/7/10 William Siegrist <wsiegrist at apple.com>:
>> I wanted to report on recent work done to make SmartCardServices  
>> buildable
>> outside of Apple. You can now build the Tokend and SmartCardServices
>> projects that shipped with 10.5.6 and 10.5.7 using darwinbuild. We  
>> had to
>> add a patch that adds includes that were needed to build with  
>> CFLite, but
>> otherwise the source is unmodified. Darwinbuild helps by  
>> automatically
>> putting roots in a chroot that have the private headers you need.
>>
>> First, install darwinbuild ( http://darwinbuild.macosforge.org/ ),  
>> then:
>>
>> # create a build environment
>> $ mkdir ~/9J61 && cd ~/9J61
>> $ sudo darwinbuild -init 9J61
>>
>> # build stuff
>> $ sudo darwinbuild SmartCardServices
>
> It worked fine until the C++ compiler is used.
> I have X Code 3.0 installed in my Leopard 10.5.7 system and g++-3.3 is
> not available. Only g++-4.0 is provided.
> In the BuildRoot only g++-4.0 and g++-4.2 are provided.
>


Can you try with Xcode 3.1.3? 3.0 is pretty old and I did not test  
with it.

Thanks
-Bill


More information about the SmartcardServices-Dev mailing list