From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,9774df35bab8a718,start X-Google-Attributes: gidf5392,public X-Google-Thread: 1103af,7cc8bbe5dc5993e9 X-Google-Attributes: gid1103af,public X-Google-Thread: 10a997,7cc8bbe5dc5993e9 X-Google-Attributes: gid10a997,public X-Google-Thread: f9b51,7cc8bbe5dc5993e9 X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,7cc8bbe5dc5993e9 X-Google-Attributes: gid111c93,public From: cbbrowne@news.brownes.org (Christopher B. Browne) Subject: Re: Are Kernels - distribution neutral ? Date: 1997/09/19 Message-ID: #1/1 X-Deja-AN: 273704610 References: <5vq5o6$k4g@bgtnsc03.worldnet.att.net> <5vr9jl$ff0@knot.queensu.ca> Organization: Hex.Net Superhighway, DFW Metroplex 817-329-3182 Reply-To: cbbrowne@hex.net Newsgroups: comp.os.linux.setup,alt.uu.comp.os.linux.questions,comp.os.linux.misc,comp.os.linux.alpha,comp.os.linux.development.system On 18 Sep 1997 13:16:37 GMT, Bob Tennent posted: >In article <5vq5o6$k4g@bgtnsc03.worldnet.att.net>, >Rajiv Kukreja wrote: >> >>Are kernels distribution neutral ?? >> >>In other words, if I download a 2.0.30 kernel - can I compile it with >>Slackware AND redhat ?? >> >The kernel *source* is normally compiled with gcc, which is included >with every Linux distribution. What one does with the kernel *code* >may vary from one distribution to another. The faster answer is: YES. I've compiled many a kernel under both Slackware and Red Hat. It works fine under both. While there may be customized kernels created by the various distributors specifically for the purpose of allowing you to get Linux up and running on potentially obscure hardware, once you've got Linux running, it's pretty straightforward to compile and set up a custom kernel. A good question would be whether or not one can compile the kernel using any other compiler than GCC. There have been occasional rumblings (grumblings?) about whether or not LCC (a Princeton "free C" compiler) could be used; the last I heard was that libc needed GCC. With the move to the new LIBC, the situation may change. It may still be preferable to use GCC; it's nonetheless nice to have things portable enough that we don't depend too much on any particular system component. And "The Portland Group" sells a C compiler that runs on Linux; 'twould be interesting if it were an option. With the generally reasonable quality of GCC, I doubt that they'll sell many C compilers. Fortunately, they also sell sundry versions of FORTRAN, which will probably do a little better... -- Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com PGP Fingerprint: 10 5A 20 3C 39 5A D3 12 D9 54 26 22 FF 1F E9 16 URL: Bill Gates to his broker: "You idiot, I said $150 million on **SNAPPLE**!!!"