Welcome, Guest. Please login or register.

Author Topic: Morphos compatible software solutions.  (Read 3411 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: Morphos compatible software solutions.
« on: December 18, 2008, 11:50:29 PM »
@amigadave

I think KimmoK was asking about something like Apple's universal binaries.

They all use different loaders, but if the newer systems recognize and execute Amiga hunk executables under emulation/JIT, then you could in theory write a startup module that detects the host environment and then dyanimcally reloads itself as a native app on MorphOS, OS4, etc.

The downside would be the size of the binary, which would need to accomodate images for all the various platforms. If you start thinking about separating the loader from the binary images, then your back to just having separate executables. The only upside would be a single installation image that needn't change from platform to platform.

Someone else (Piru?) may know if a single ELF binary could be constructed to run on MorphoOS, OS4, and AROS.

Anything's possible, of course, but it may not be practical.
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: Morphos compatible software solutions.
« Reply #1 on: December 19, 2008, 06:56:21 PM »
@Piru

It's unfortunate that ELF was never extended to support fat binraries.

The probelm could be solved directly by the various system owners agreeing on an Amiga-like fat binary header and modifying their loaders accordingly--but this is Amiga we're talking about, so the various factions are rife with memories of scene showdowns and intro potshots and are unlikely to agree on anything. ;-)

A hunk extension of some sort could work as well but would again require agreement among the factions and modification of the various loaders.