Dennis van Dok wrote: > Hi, > > The engine_pkcs11 software (version 0.1.3) compiles and builds nicely on > my Intel MacBook. Now I want to generate a 'universal binary', which > means that I have to pass the flag '-arch ppc' to gcc to generate > PowerPC binaries. I'm trying to do this by setting CFLAGS accordingly > prior to running configure. > > Unfortunately, the libtool script provided with engine_pkcs11 *drops* > the -arch option from the command-line when called with --mode=link. > > I'm currently pulling my hair out trying to figure out what I can do to > make this work in a fashion that won't disgrace the build system. > > So needless to say, any help is welcome. >
Hi Dennis, The cross-compilation is usually not so easy as Apple want to present... When we tried (hard) to create an universal binaries with SCA, there is more packages for which we didn't find a solution for cross-compiling, than good ones ready to cross-compile. For Tokend, you need to cross-compile but you can do it only on a PPC! Finally, for SCA, we compile each piece (expect Tokend) on each platform, and put them together with lipo. Cheers, Jean-Pierre _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
