This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with darwin_closure.S on 10.4.11/gcc 4.3.3


----------------------------------------
> 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 		 	   		  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]