• 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
old Mach-O binary to modern Mach-O
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

old Mach-O binary to modern Mach-O


  • Subject: old Mach-O binary to modern Mach-O
  • From: Filhol Alain <email@hidden>
  • Date: Thu, 16 Feb 2017 00:17:55 +0100
  • Ironport-phdr: 9a23:G9YInhHqUKyR7nhS07nWAJ1GYnF86YWxBRYc798ds5kLTJ7zosiwAkXT6L1XgUPTWs2DsrQf2reQ6/urADZIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbN/IA+qoQjfucUanJVuIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1kyoMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOmd4YBD/YOPfxFoYfzpFUAsxSxCw63Cez11jNIg2X73a0m3+khFwzNwQwuH8gJsHTRtNj7NKYSUeS1zKnPyTXIcu9b2TPn54jJdBAqvPaBXbxxccrVyUkvEAfFg06RqYzhOzOZzPoCs3WC4udmSOmhhWknqwRrrTiuwMchkpLJhoUIylDe6Sp23og1JdqiSE50f9GoCp1QuD+GN4ZwX8gsQHlotT4nxrACuZO3ZisHxZo9yxLCdfCKcZKE7g/9WOuVOTt1gHxodKi8ihqo70Ss1+LxWtOp3FtIqidIlMTHuGoX2BzJ8MeHT+Nw/kKm2TmSyQ/e8vpEIUUolarDLJ4h36IwmoITsUvdGi/2n137jKqMeUUl/uio5f7nYrLgpp+AKoN4kAD+MqAqmsClD+Q4KBACX2md+euiyL3u5VD1TbFKg/EskaTUvorWKdkFqqO7GQNZz5gv5hKnAzejytsYnH0HLFxfeBKAiojkI1/OIPH8Dfe/hFSslCxmx/HCPr3lGJnCMGXDnK/7fblh805c1BYzzddH6pNbFr4BJ+/8VVHouNzFFR82LRa0w/38BdV514MeQn6PArSDPKzIqV+I/uYvLPeWaIAJvzb9Lqtt2/m7qX4ihVJVbYKu0ZZfPGCzGfhrZliCbGD3qtMACnsR+AMmVOjnzlaFVGgAXXuqW7MA4WQ1CYamCoPrR4SpxrKbjwmhGZgDSGFCCleIWV7sfoSCE6MCaSaSJctJkzgAE7W8HdxynSqyvRP3nuI0ZtHf/TcV4Ne6jIB4

Hi,

I tried to code sign a colleague’s scientific package which has embedded bundles (third parti helper and player).
This made me discover that Xcode, or the terminal command “codesign”, both only sign modern MACH-O binaries (i.e. SDK 10.6 or higher).
Thus the whole signing process failed because of one old Mach-O binary (x86_64 SDK 10.5).

This old MACH-O can be disassembled with a tool like MachOView.app <https://sourceforge.net/projects/machoview/> but is too complicated to be rewritten, at least by me.

Thus I wonder if there is tool for converting old Mach-O to modern Mach-O.
I do not really understand commands “strip" and “ld".

This does not seem to be technically impracticable since I found a PE/ELF/Mach-O converter but for libraries only.

All the best

------
Dr. Alain Filhol  (Computer scientist)
Institut Laue-Langevin
EPN Campus, CS 20156, 71 ave des Martyrs, F-38042 Grenoble cedex 9
<email@hidden>, Office: ILL4-217
Tel:+33 4.76.20.71.56, Fax: +33 4.76.20.76.48







 _______________________________________________
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

  • Prev by Date: Re: [admin] Apple Mailing List Web Links Failing
  • Next by Date: Re: [admin] Apple Mailing List Web Links Failing
  • Previous by thread: Re: Archiving and strip. Why "Setting Mode" sucks.
  • Next by thread: XC extension debugging and console output
  • Index(es):
    • Date
    • Thread