[haiku-bugs] Re: [Haiku] #8520: runtime loader should check elf headers for things like architecture.

#8520: runtime loader should check elf headers for things like architecture.
-------------------------------------+----------------------------
   Reporter:  kallisti5              |      Owner:  bonefish
       Type:  enhancement            |     Status:  new
   Priority:  normal                 |  Milestone:  R1/alpha4
  Component:  System/runtime_loader  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by X512):

 Replying to [comment:6 bonefish]:
 > @X512: It's one thing to translate machine code from a different
 architecture, it's another thing to do that in an API/ABI compatible way.
 This is probably a big project and not particularly worthwhile IMO.
 It's much simpler that you think. To run an application you of cource need
 compiled Haiku libs for target architecture. For example if you run x86
 Wonderbrush(it's closed source, isn't it?) on ARM, haiku will use x86
 libraries without modification. There are no need in dynamic ABI
 translation, only syscalls translation needed.

 As I understand Qemu already provide everything needed to launch apps with
 other target architecture on linux. Only runtime_loader
 integration(runtime_loader add-ons mayble?) and diffrent syscalls
 translation needed.

 Sorry for offtop.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8520#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: