GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Let's say Microsoft wanted to implement a compatibility layer for programs written in linux.
If they borrowed GPL'd code from the Linux kernel, would they have to make the entire windows OS gpl, or just certain modules? Or would they have to write their own compatibility layer from scratch in order to sell it? I was just wondering this, and I figured that someone would know the answer here.
"If they borrowed GPL'd code from the Linux kernel, would they have to make the entire windows OS gpl, or just certain modules?"
They would just have to release the modules containing the GPL code under the GPL. The problem for Microsoft is that one of the design criteria for Windows is that the Microsoft programs be bundled to the point that they cannot be separated by a court order. As a result the Microsoft code is better described as "scrambled" rather than modular. If Microsoft takes a GPL module and incorporates it into Windows they may have to add small segments of GPL code into a lot of different code segments throughout what passes for "modules" in Windows. The net effect may be that all of Windows would have to be released under the GPL.
"Or would they have to write their own compatibility layer from scratch in order to sell it?"
If they wanted to write their own compatibility code it probably would not be a "layer" as any self respecting software architect would design it. It would be segments of code scattered throughout Windows. This would simply be another case of Microsoft having to rewrite Windows in order to add a new application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.