ELF executables

  • Is there any hope that someday an ELF executable from Linux might run
    on OS X using the OS X '.dylib' libraries in place of the Linux '.so'
    libraries?  Are there any projects working on mapping an ELF
    executable to a Mach-O executable?
    --
    Eric Norum <norume...>
    Advanced Photon Source
    Argonne National Laboratory
    (630) 252-4793
  • On Oct 23, 2006, at 3:14 PM, Eric Norum wrote:

    > Is there any hope that someday an ELF executable from Linux might
    > run on OS X using the OS X '.dylib' libraries in place of the Linux
    > '.so' libraries?  Are there any projects working on mapping an ELF
    > executable to a Mach-O executable?

    I very much doubt it - it's difficult enough getting a Linux binary
    built for one distribution to work on another one that has a
    different libc, kernel, etc.

    Besides which, what would be the point? I can think of only a tiny
    handful of Linux apps that aren't available as source - why not
    simply build a native executable for Mac OS X?

    sherm--

    Web Hosting by West Virginians, for West Virginians: http://wv-www.net
    Cocoa programming in Perl: http://camelbones.sourceforge.net
  • On Oct 23, 2006, at 3:04 PM, Sherm Pendley wrote:

    > On Oct 23, 2006, at 3:14 PM, Eric Norum wrote:
    >
    >> Is there any hope that someday an ELF executable from Linux might
    >> run on OS X using the OS X '.dylib' libraries in place of the
    >> Linux '.so' libraries?  Are there any projects working on mapping
    >> an ELF executable to a Mach-O executable?
    >
    > I very much doubt it - it's difficult enough getting a Linux binary
    > built for one distribution to work on another one that has a
    > different libc, kernel, etc.

    That's kind of what I was afraid of, but I'm an eternal optimist so I
    thought I'd ask  :-)

    >
    > Besides which, what would be the point? I can think of only a tiny
    > handful of Linux apps that aren't available as source - why not
    > simply build a native executable for Mac OS X?

    I unfortunately have such an application.  It's the Quartus FPGA
    development package from Altera.

    http://www.altera.com/products/software/products/quartus2/qts-index.html

    They provide a Windows version and a Linux version --  both
    executable only.  I expect that I could get either of these running
    using Parallels, but we're discouraged from using virtual systems here.

    --
    Eric Norum <norume...>
    Advanced Photon Source
    Argonne National Laboratory
    (630) 252-4793
  • On Oct 23, 2006, at 1:12 PM, Eric Norum wrote:

    > I unfortunately have such an application.  It's the Quartus FPGA
    > development package from Altera.
    >
    > http://www.altera.com/products/software/products/quartus2/qts-
    > index.html
    >
    > They provide a Windows version and a Linux version --  both
    > executable only.  I expect that I could get either of these running
    > using Parallels, but we're discouraged from using virtual systems
    > here.

    How about using a remote X session? Too slow?

        - Scott
  • On Oct 23, 2006, at 3:42 PM, Scott Stevenson wrote:

    >
    > On Oct 23, 2006, at 1:12 PM, Eric Norum wrote:
    >
    >> I unfortunately have such an application.  It's the Quartus FPGA
    >> development package from Altera.
    >>
    >> http://www.altera.com/products/software/products/quartus2/qts-
    >> index.html
    >>
    >> They provide a Windows version and a Linux version --  both
    >> executable only.  I expect that I could get either of these
    >> running using Parallels, but we're discouraged from using virtual
    >> systems here.
    >
    > How about using a remote X session? Too slow?

    I'm currently getting my Quartus work done with VNC to a Linux
    machine.  This isn't too bad, but I'd like to get the CPU count in
    my office down (currently Linux/Solaris/OS X -- I managed to get rid
    of the Windows machine a year or so ago).  My OS X machine is the
    fastest of the bunch and with Quartus compiles taking around an hour
    to complete I'd really like to use the faster machine!

    --
    Eric Norum <norume...>
    Advanced Photon Source
    Argonne National Laboratory
    (630) 252-4793
  • On Oct 23, 2006, at 1:56 PM, Eric Norum wrote:

    > On Oct 23, 2006, at 3:42 PM, Scott Stevenson wrote:
    >
    >>
    >> On Oct 23, 2006, at 1:12 PM, Eric Norum wrote:
    >>
    >>> I unfortunately have such an application.  It's the Quartus FPGA
    >>> development package from Altera.
    >>>
    >>> http://www.altera.com/products/software/products/quartus2/qts-
    >>> index.html
    >>>
    >>> They provide a Windows version and a Linux version --  both
    >>> executable only.  I expect that I could get either of these
    >>> running using Parallels, but we're discouraged from using virtual
    >>> systems here.
    >>
    >> How about using a remote X session? Too slow?
    >
    > I'm currently getting my Quartus work done with VNC to a Linux
    > machine.  This isn't too bad, but I'd like to get the CPU count in
    > my office down (currently Linux/Solaris/OS X -- I managed to get
    > rid of the Windows machine a year or so ago).  My OS X machine is
    > the fastest of the bunch and with Quartus compiles taking around an
    > hour to complete I'd really like to use the faster machine!

    Get a Mac Pro, install Parallels Desktop, install your Linux dist.
    into Parallels Desktop VM, run Linux, etc.

    Repeat for Windows, Solaris x86, etc. as needed (of course you only
    need one Mac Pro).

    -Shawn
  • On 24 Oct 2006, at 02:10, Shawn Erickson wrote:

    >
    [Linux binaries on Mac]
    > Get a Mac Pro, install Parallels Desktop, install your Linux dist.
    > into Parallels Desktop VM, run Linux, etc.
    >

    I've said it before, but linux ELF binaries can be run on
    osfmk...there was a mach-based Linux port called MKLinux which came
    out of Apple and the mythical "community" a long time ago.  Maybe
    it's possible to look at what they did (based on the 2.0 Linux
    kernel) and get a userspace Linux running on Darwin.  OTOH it might
    be more useful to write something from scratch which just provides a
    new executable type to the Darwin kernel (or lets it run the ELF
    through a userspace translator daemon, something like Rosetta).  Of
    course, the fact that no-one has done this may point to either the
    complexity or the lack of interest (or both) in doing such a thing.

    Certainly the concept of being able to run ppc-linux-gnu binaries on
    my iBook fills me with enormous apathy.

    > Repeat for Windows, Solaris x86, etc. as needed (of course you only
    > need one Mac Pro).

    Convince my employers of that need and get back to me plskthx. ;-)

    Cheers,

    Graham.

    --
    Graham J Lee
    http://www.thaesofereode.info/
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today