• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to convert project from PPC to Universal Binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert project from PPC to Universal Binary?


  • Subject: Re: How to convert project from PPC to Universal Binary?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 30 Oct 2009 12:28:25 -0700


On Oct 30, 2009, at 12:18 PM, Alan Snyder wrote:

The problem is this project is
dependent on two *.a files - which I'm pretty sure are PPC assembly.

Confusingly, .a gets used both for assembly and compiled binary code. It's pretty easy to tell the difference by opening with a text editor :)


I've tried to recompile these files on my OS-X 10.5 iMac(intel) from
the source, but have several issues. (i.e. It is K&R C and needs gcc
3.3)  So, instead want to ask if there is a way to transcode the
original *.a file (ppc assembly) into something that the XCode project
can accept.

I don't know of anything like that. Usually the only reason someone would have raw PPC assembly would be as hand-written optimized code, for which automatic translation would defeat the purpose.


You should try to get the original code to compile. Does GCC 4.x really not accept pre-ANSI C syntax? If so, you could find a system with 10.4 and use Xcode 3.3 targeted for x86 to produce a static library, which you could then copy over and link in.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to convert project from PPC to Universal Binary?
      • From: Alan Snyder <email@hidden>
    • Re: How to convert project from PPC to Universal Binary?
      • From: Alan Snyder <email@hidden>
References: 
 >How to convert project from PPC to Universal Binary? (From: Alan Snyder <email@hidden>)

  • Prev by Date: How to convert project from PPC to Universal Binary?
  • Next by Date: Re: Modifying Xcode's preprocessing routine
  • Previous by thread: How to convert project from PPC to Universal Binary?
  • Next by thread: Re: How to convert project from PPC to Universal Binary?
  • Index(es):
    • Date
    • Thread