[SmartcardServices-Dev] Building using darwinbuild

Aladin aladin at puredarwin.org
Sat Jan 23 08:15:19 PST 2010


Hi,

Remotely, the binaryroots can be find here:
http://src.macosforge.org/Roots/9A581/gcc_os.root.tar.gz

aladin at PureDarwin:# darwinxref findFile gcc-3.3
gcc_os:
	/usr/bin/gcc-3.3

Best,
Aladin.

On Fri, Jan 15, 2010 at 3:54 PM, Ludovic Rousseau
<ludovic.rousseau at gmail.com> wrote:
> 2009/7/17 Ludovic Rousseau <ludovic.rousseau at gmail.com>:
>> 2009/7/16 William Siegrist <wsiegrist at apple.com>:
>>> 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.
>>
>> 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.
>
> I installed a new BuildRoot for Leopard 9L30 and I have the problem again :-(
> I installed Xcode 3.1.4 and have g++-3.3 on my system but not in the
> BuildRoot. And I don't remember what I did last year to have g++-3.3
> installed in the BuildRoot.
>
> I can't find gcc-3.3 in http://src.macosforge.org/Roots/9A581/
> Only gcc_42.root.tar.gz is available.
>
> Do I have to install gcc 3.3 *by hand* in the BuildRoot?
>
> Thanks
>
> --
>  Dr. Ludovic Rousseau
> _______________________________________________
> SmartcardServices-Dev mailing list
> SmartcardServices-Dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/smartcardservices-dev
>


More information about the SmartcardServices-Dev mailing list