2009/7/16 William Siegrist <wsiegrist@apple.com>:
On Jul 16, 2009, at 2:14 AM, Ludovic Rousseau wrote:
2009/7/10 William Siegrist <wsiegrist@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.
Xcode 3.1.3 does not solve the problem. g++-3.3 is not installed by default. I need to select "Mac OS X 10.3.9 Support" to have gcc 3.3 installed. It know works. Thanks. The next step is to port the code to g++ 4.x instead of g++ 3.3 Bye -- Dr. Ludovic Rousseau