Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: cbbrowne@news.brownes.org (Christopher B. Browne)
Subject: Re: Are Kernels - distribution neutral ?
Date: 1997/09/19	[thread overview]
Message-ID: <slrn623vkm.n6n.cbbrowne@knuth.brownes.org> (raw)
In-Reply-To: 5vr9jl$ff0@knot.queensu.ca


On 18 Sep 1997 13:16:37 GMT, Bob Tennent <rdt@NOSPAM.qucis.queensu.ca> posted:
>In article <5vq5o6$k4g@bgtnsc03.worldnet.att.net>,
>Rajiv Kukreja  <rxk1626@rit.edu> 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: <http://www.hex.net/~cbbrowne/>
Bill Gates to his broker: "You idiot, I said $150 million on **SNAPPLE**!!!"



  reply	other threads:[~1997-09-19  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17  4:00 Are Kernels - distribution neutral ? Rajiv Kukreja
1997-09-18  4:00 ` Bob Tennent
1997-09-19  4:00   ` Christopher B. Browne [this message]
1997-09-18  4:00 ` Larry Ayers
1997-09-19  4:00 ` Jon Martin Solaas
1997-09-19  4:00 ` Ed Falk
1997-09-22  4:00   ` Ashwin Bihari
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox