This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
RE: Problem with darwin_closure.S on 10.4.11/gcc 4.3.3
- From: Jay K <jay dot krell at cornell dot edu>
- To: mansky <mansky at mindspring dot com>, "libffi-discuss at sourceware dot org" <libffi-discuss at sourceware dot org>
- Date: Wed, 23 Oct 2013 16:03:24 +0000
- Subject: RE: Problem with darwin_closure.S on 10.4.11/gcc 4.3.3
- Authentication-results: sourceware.org; auth=none
- References: <5430341D-132E-4F68-9917-DFB0508D7F96 at mindspring dot com>
----------------------------------------
> CC: mansky@mindspring.com
> From: mansky@mindspring.com
>
>...
> Where is the constant __ppc64__ defined in the code? Is it defined in
> libffi code itself somewhere, or in the OSX system headers ? I
> compared my G4 with my G5 and could not find __ppc64__ defined in the
> system headers there either.
>...
>
> Thanks,
> --Ed
#defines often come from within cc.
Try this:
echo> 1.c
echo> 1.s
cc -dM -c 1.s -E
cc -dM -c 1.c -E
or
cc -arch ppc -dM -c 1.s -E | grep ppc
cc -m64 -arch ppc -dM -c 1.s -E | grep ppc
(man gcc> 1.txt ; edit 1.txt)
- Jay