Now I understand what you mean. The translation script between the CHOST and openssl host does not support darwin.
Can you please tell me how to map gcc -dumpmachine output to: darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc darwin64-x86_64-cc Just send me a sample of gcc -dumpmachine output... The gentoo.config-0.9.8 is doing the conversion and never had to do this for mingw or darwin... :) Alon. On 1/24/09, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote: > 2009/1/24 Alon Bar-Lev <alon.bar...@gmail.com>: > > > On 1/23/09, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote: > >> Good idea. I already started to add support for Mac OS X. But > >> compilation of OpenSSL fails. It should not be a cross-compilation on > >> Mac OS X. > > > > Why? > > Which host do you use? I want to try this myself. > > Maybe open a bug with OpenSSL developers as cross compile should work > > correctly in 0.9.9. > > > Build openssl > ++ CHOST= > ++ /Users/rousseau/Documents/sc/OpenSC/build/trunk/gentoo.config-0.9.8 > + ./Configure --prefix=// --cross-compile-prefix= shared zlib-dynamic > -I/Users/rousseau/Documents/sc/OpenSC/build/trunk/image/opensc/include > no-capieng --openssldir=/etc/ssl > Configuring for > Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] > [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] > [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] > [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [386] > [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] > [--test-sanity] os/compiler[:flags] > > pick os/compiler from: > BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8 > BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-pre1.3 DJGPP MPE/iX-gcc OS2-EMX > OS390-Unix ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32 VC-WIN64A VC-WIN64I > aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc aux3-gcc beos-x86-bone beos-x86-r5 > bsdi-elf-gcc cc cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc > darwin64-ppc-cc > darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc > hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4 > hpux-parisc-gcc hpux-parisc1_0-cc hpux-parisc2-cc hpux-parisc2-gcc > hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 > irix-cc irix-gcc irix-mips3-cc irix-mips3-gcc irix64-mips4-cc > irix64-mips4-gcc > linux-alpha+bwx-ccc linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc > linux-aout linux-armv4 linux-elf linux-generic32 linux-generic64 > linux-ia32-icc linux-ia64 linux-ia64-ecc linux-ia64-icc linux-ppc linux-ppc64 > linux-s390x linux-sparcv8 linux-sparcv9 linux-x86_64 linux64-sparcv9 mingw > mingw64 ncr-scde netware-clib netware-clib-bsdsock netware-clib-bsdsock-gcc > netware-clib-gcc netware-libc netware-libc-bsdsock netware-libc-bsdsock-gcc > netware-libc-gcc newsos4-gcc nextstep nextstep3.3 osf1-alpha-cc > osf1-alpha-gcc > purify qnx4 qnx6 rhapsody-ppc-cc sco5-cc sco5-gcc solaris-sparcv7-cc > solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc > solaris-sparcv9-gcc solaris-x86-cc solaris-x86-gcc solaris64-sparcv9-cc > solaris64-sparcv9-gcc solaris64-x86_64-cc solaris64-x86_64-gcc sunos-gcc > tandem-c89 tru64-alpha-cc ultrix-cc ultrix-gcc unixware-2.0 unixware-2.1 > unixware-7 unixware-7-gcc vos-gcc vxworks-mipsle vxworks-ppc405 > vxworks-ppc750 > vxworks-ppc750-debug vxworks-ppc860 debug debug-BSD-x86-elf debug-Cygwin > debug-ben debug-ben-debug debug-ben-no-opt debug-ben-openbsd > debug-ben-openbsd-debug debug-ben-strict debug-bodo debug-darwin-i386-cc > debug-darwin-ppc-cc debug-geoff32 debug-geoff64 debug-levitte-linux-elf > debug-levitte-linux-elf-extreme debug-levitte-linux-noasm > debug-levitte-linux-noasm-extreme debug-linux-elf debug-linux-elf-noefence > debug-linux-ia32-aes debug-linux-pentium debug-linux-ppro debug-rse > debug-solaris-sparcv8-cc debug-solaris-sparcv8-gcc debug-solaris-sparcv9-cc > debug-solaris-sparcv9-gcc debug-steve-opt debug-steve32 debug-steve64 > debug-ulf debug-vos-gcc > > NOTE: If in doubt, on Unix-ish systems use './config'. > + die 'Configure openssl' > + local 'm=Configure openssl' > + echo 'FATAL: Configure openssl' > FATAL: Configure openssl > + exit 1 > > > Compiling using the OpenSSL ./config script works fine. > > > Bye > > -- > Dr. Ludovic Rousseau > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel > _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel