[PATCH] dyld support
David Shaw
dshaw at jabberwocky.com
Wed Dec 11 13:26:01 CET 2002
On Wed, Dec 11, 2002 at 12:23:10AM -0500, Gordon Worley wrote:
>
> On Tuesday, December 10, 2002, at 06:49 PM, David Shaw wrote:
>
> >It is being compiled in. That message is the IDEA self-test failing.
> >
> >What #defines does your compiler set by default? I'm wondering if
> >this is an endian issue. (i.e. "gcc -E -dM - < /dev/null").
>
> #define __BIG_ENDIAN__ 1
[..]
> #define __ppc__ 1
Interesting. Can you try this patch to idea.c ?
David
--
David Shaw | dshaw at jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
-------------- next part --------------
--- /home/dshaw/idea.c Tue Dec 10 18:30:30 2002
+++ idea.c Wed Dec 11 07:22:10 2002
@@ -61,15 +61,13 @@
#if defined(__mc68000__) || defined (__sparc__) || defined (__PPC__) \
|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)) ) \
- || defined(__powerpc__) \
+ || defined(__powerpc__) || defined(__ppc__) \
|| defined(__hpux__) /* should be replaced by the Macro for the PA */
#define BIG_ENDIAN_HOST 1
#else
#define LITTLE_ENDIAN_HOST 1
#endif
-typedef unsigned long ulong;
-typedef unsigned short ushort;
typedef unsigned char byte;
typedef unsigned short u16;
More information about the Gnupg-devel
mailing list