Skip to main content
13 events
when toggle format what by license comment
Feb 10, 2021 at 9:36 history edited Thorbjørn Ravn Andersen CC BY-SA 4.0
added 2 characters in body
Oct 4, 2018 at 12:46 comment added Thorbjørn Ravn Andersen @William Yes, but this is just a hack of merging two programs that needs to be independently built and tested on each platform together.
Sep 30, 2018 at 2:56 comment added William Could you feasible package 2 binaries(1 for each SO) into one file that chooses based on the OS maybe?
May 1, 2016 at 21:39 comment added Thorbjørn Ravn Andersen I learned today that NetBSD has several API-compatability layers included so binaries from other operating systems can run directly.
Feb 23, 2011 at 20:49 comment added mattdm @Thorbjørn Ravn Andersen — it depends where you draw the line of what you call an operating system. The answer is either "no" or "yes". :)
Feb 23, 2011 at 20:48 comment added Thorbjørn Ravn Andersen @mattdm, would you "interact with the operating system" in other ways than system calls?
Feb 23, 2011 at 2:51 comment added zec Well, I figured it wouldn't be completely impossible, but I also did not expect it to be nearly as simple as I described it. I wrote the question with the intention of being corrected. This at times seems like a more efficient method of getting to the heart of the matter than asking a direct question such as "How do I convert a linux binary to run on Mac OS ". Also I have used wine from time to time, but I had never really pondered about how it worked before, I think I shall go look into it sometime now.
Feb 23, 2011 at 0:12 comment added mattdm That said, your "crazy" idea isn't completely impossible. Just a lot of work. The Wine project is essentially this for running MS Windows binaries on Linux (or OS X). It provides a translation layer for system calls. wiki.winehq.org/…
Feb 22, 2011 at 23:23 vote accept zec
Feb 22, 2011 at 22:55 comment added mattdm They're not "supposed", they are actual. :) Here's a good start: ibm.com/developerworks/linux/library/l-system-calls
Feb 22, 2011 at 22:16 comment added zec Aah, This is excellent. This is exactly the kind of constructive correction I was hoping for. Thanks a bunch :D Could you tell me more about these supposed system calls, or redirect me to somewhere I can learn more about them?
Feb 22, 2011 at 22:11 comment added mattdm This is basically correct as to what the problem is, but the issue isn't really libraries (which could be dragged along) but system calls, which are requests to the OS kernel. If the OS doesn't provide a compatible system call interface, you are out of luck.
Feb 22, 2011 at 22:02 history answered Thorbjørn Ravn Andersen CC BY-SA 2.5