Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Obviously, they create a linux environment for linux applications to run in windows. But,

  • what kind of techniques are used for this?
  • Is there any special mechanisms followed?
share|improve this question
    
I'm assuming you're referring to applications like MSYS/MinGW/Cygwin? –  Darthfett Jul 26 '12 at 4:24
    
Welcome to Super User. Please take a moment to read the FAQ. In particular, note that questions providing specifics and details are more likely to get good answers. You can edit your question to provide additional detail regarding what you would like to know. –  Michael Hampton Jul 26 '12 at 4:50
    
Which Linux emulators are you talking about in specific? What actual problem are you facing? –  slhck Jul 26 '12 at 5:01
    
I'm not using any linux emulators. I'm just curious to know about how they achieve this? Because different executable file formats are used in linux and windows. There should be some basic or common technique used by all emulators, so which is that. If not, how they differ from each other? –  arulappan Jul 26 '12 at 5:05
    
Are you facing a specific problem? This site is for Q&A regarding issues users are actually having, not discussions over or theories on how things work. –  MaQleod Jul 26 '12 at 6:33

1 Answer 1

AFAIK most emulators will convert system calls to compatible APIs in the other side. For example the Linux program needs an API call, the emulator will change this to similar win32 API. When windows return data to the program it will then be converted back to Linux forms. But sometimes they only compile Linux source code to make quivalent windows exe files

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.