On 10/17/10 7:54 PM, bacchus wrote: > why i saw notepad.exe.so and notepad.exe.fake in programs/notepad. > > i thought wine dedeveloped a new version of notepad. They did. All of Wine's source was written from scratch. Absolutely none of it came from Windows. (Otherwise, the maintainer would have thrown the offending code out.) > I seemed wrong. I can explain what you're seeing. The .so is the "real" executable. This is what Wine loads when you run notepad in Wine. The .fake is just a stub that Wine puts into its directory tree to fool stupid Windows programs that expect it to be there. (It's put there without the .fake extension, by the way.) It doesn't actually do anything; if you ran it on Windows, it would exit immediately. The .so is a shared library in the native format of your OS (ELF, or on Mac OS X, Mach-O), so don't even try to run it on Windows. If you want to run Wine notepad (or any Wine built-in program for that matter) on Windows, you have to build the sources with MinGW instead of your system's native compiler. Chip