From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8285 invoked by alias); 23 Oct 2013 16:03:27 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 8268 invoked by uid 89); 23 Oct 2013 16:03:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: col0-omc1-s1.col0.hotmail.com Received: from col0-omc1-s1.col0.hotmail.com (HELO col0-omc1-s1.col0.hotmail.com) (65.55.34.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Oct 2013 16:03:26 +0000 Received: from COL125-W12 ([65.55.34.9]) by col0-omc1-s1.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Oct 2013 09:03:24 -0700 X-TMN: [rMeYx04mtIJWwUslDxeUmOZCtORTE1k9] Message-ID: From: Jay K To: mansky , "libffi-discuss@sourceware.org" Subject: RE: Problem with darwin_closure.S on 10.4.11/gcc 4.3.3 Date: Wed, 23 Oct 2013 16:03:00 -0000 In-Reply-To: <5430341D-132E-4F68-9917-DFB0508D7F96@mindspring.com> References: <5430341D-132E-4F68-9917-DFB0508D7F96@mindspring.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2013/txt/msg00189.txt.bz2 ---------------------------------------- > 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 =A0#defines often come from within cc.=A0 =A0Try this:=A0 =A0 echo> 1.c =A0=A0 =A0 echo> 1.s =A0=A0 =A0 =A0 cc -dM -c =A01.s -E =A0 =A0 =A0 =A0 cc -dM -c =A01.c -E =A0 =A0 =A0 or =A0 =A0 =A0 cc -arch ppc -dM -c =A01.s -E =A0| grep ppc =A0 =A0 =A0 cc -m64 -arch ppc -dM -c =A01.s -E =A0| grep ppc =A0 (man gcc> 1.txt ; edit 1.txt)=A0 =A0- Jay=20=09=09=20=09=20=20=20=09=09=20=20