Thomas Harning Jr. a écrit : > On Tue, 2007-01-02 at 20:22 +0100, JP Szikora wrote: > >> Thomas Harning Jr. wrote: >> >>> Has anyone compiled SCA on a MacIntel? >>> I know that the recent builds of SCA are Universals, but I need a >>> version w/ the new PIV support patch applied ( ticket #128 on OpenSC ). >>> >> Hi Thomas, >> >> Is your patch included in Trunk? In that case, I will build a new test >> release of SCA. >> >> > It hasn't been included in Trunk yet. > > >> There are 2 documents describing how to build SCA: >> - http://www.opensc-project.org/sca/wiki/OpenscTokend >> - http://www.opensc-project.org/sca/browser/trunk/howto >> > I've tried following the instructions and Tokend doesn't want to > compile.. I have a feeling it's because darwinbuild doesn't support > 10.4.8 yet (I had to copy PLIST files from the Apple site, which doesn't > contain links to the "root" files). > > Would compiling for a lower version work on a higher version?
There is no newer version than the ones referenced in wiki/OpenscTokend... The instruction is still valid for 10.4.8. > Also.. > would it be possible to compile a PPC version of the files to build a > Universal binary package work on a MacIntel? As it stands now... it > looks like you have to have both PPC and x86 machines to do that, even > though x86 has emulation support to work with PPC code. > I'd assume that there would be CFLAGS that you could set to compile the > two code-sets... > SCA contains multiple packages. For Tokend, you need tou use PPC to build both PPC and Intel based code (We just follow the instructions we received from Apple, btw...). For the other packages, the situation is variable :-( Some of them can be cross-compiled without much efforts, but for others ones, I did not find the options to use for cross-compiling. With the results I have now, I still prefer to compile the PPC part on a PPC, and the Intel part on a MacIntel. And then put together the 2 parts with "lipo". Cheers, Jean-Pierre _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
