Re: fat binary for Mac OSX 10.5.X
2009-04-30 23:12:55 GMT
Thanks Yang, and Toby. Both methods work fine. I ended up using the single pass method. I had to do the following changes: Changed the contents of include/curl/curlbuild.h to #ifdef __LP64__ #include "curlbuild64.h" #else #include "curlbuild32.h" #endif where curlbuild64.h and curlbuild32.h were created by running configure separately for x86_64 and i386 architecture. Also, applied the following patch: diff -Naur curl-7.19.4-old/lib/config.h curl-7.19.4/lib/config.h --- curl-7.19.4-old/lib/config.h 2009-04-30 15:37:28.000000000 -0700 +++ curl-7.19.4/lib/config.h 2009-04-30 15:20:10.000000000 -0700 <at> <at> -848,19 +848,35 <at> <at> #define SIZEOF_INT 4 /* The size of `long', as computed by sizeof. */ +#ifdef __LP64__ #define SIZEOF_LONG 8 +#else /* !__LP64__ */ +#define SIZEOF_LONG 4 +#endif /* __LP64__ */ /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 /* The size of `size_t', as computed by sizeof. */ +#ifdef __LP64__(Continue reading)
RSS Feed