• 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: Linking Mach-O and AIX binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Mach-O and AIX binaries


  • Subject: Re: Linking Mach-O and AIX binaries
  • From: Warren Nagourney <email@hidden>
  • Date: Wed, 10 Jul 2002 11:54:52 -0700

Thanks very much for the responses. I believe the suggestion to use the disassembled source is a very good one. Actually the "crunching" routine makes very few system calls: no I/O, only some transcendentals (sin, cos) which could probably be patched in (or inlined). I assume square roots do not involve a system call. I would need to ensure that the calling convention was implemented properly.

I have no PPC assembler experience, but a fair amount of experience with others (pdp-8, pdp-11, 6502, 68000 and 56000 [a DSP]). It might be worth a try.

Thanks again.

Warren Nagourney
Univ. of Washington
Physics Dept.



On Wednesday, July 10, 2002, at 01:20 AM, Markus Hitter wrote:


Am Mittwoch den, 10. Juli 2002, um 09:20, schrieb j.oie(mecha : himitsu):

Maybe taking a disassembler to the AIX binary and assembling for PowerPC might have better results; a PowerPC (dis)assembler I know of is "The Dark Tower", but I know not where it can be found. This is only if Power and PowerPC assembly languages are sufficiently similar, though.

GNU binutils should do it. Easy to compile them for a cross-environment.

Some years ago I tried something like this but it isn't too simple: "as" can't read bintuils ("objdump") output directly. You'd have to write a converter. And you still would have to deal with all the calls to system libraries. Functions _not_ using system calls are quite rare in a real word app.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Linking Mach-O and AIX binaries (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: Drag and Drop file paths onto text field
  • Next by Date: Internet Config & Deleting FileMappings
  • Previous by thread: Re: Linking Mach-O and AIX binaries
  • Next by thread: Re: Linking Mach-O and AIX binaries
  • Index(es):
    • Date
    • Thread