linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russ Allbery <rra@stanford.edu>
To: Tim Riker <Tim@Rikers.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?)
Date: 03 Nov 2000 22:19:12 -0800	[thread overview]
Message-ID: <ylbsvww97j.fsf@windlord.stanford.edu> (raw)
In-Reply-To: <fa.g3i0smv.15loso7@ifi.uio.no> <fa.cjn9ksv.1a0m82t@ifi.uio.no>
In-Reply-To: Tim Riker's message of "Thu, 2 Nov 2000 23:22:36 GMT"

Tim Riker <Tim@Rikers.org> writes:

> Agreed. C99 does not replace all the needed gcc features. We should
> start using the ones that make sense, and push for
> standardization/documentation on the rest.

> I'm perfectly happy with this as a long term goal. I'll put what effort
> I can into moving that direction without breaking the existing world as
> we know it.

May I tentatively suggest that one point at which your resources could
productively be applied is towards improving the C99 compliance in gcc?
Clearly for the near to medium future the compiler that everyone will use
to build the Linux kernel will be gcc, which means that in order to use
any C99 syntax, it first has to be solid in gcc.  That means the best way
of introducing such things into the Linux kernel is to *first* get the C99
support solid, reliable, and efficient in gcc, then once a version of gcc
is released with that support, help get Linux compiling with that version
of gcc.

*Then*, when that version of gcc can be made a prerequisite for the
kernel, you can start switching constructs over to the C99 syntax that gcc
supports.

This is obviously a slow and drawn-out process, but in the end the free
software community not only gets a better-documented syntax in the Linux
kernel code that's more likely to be clearly supported and not broken by
gcc in the future, but the broader community also gets a more closely
conforming compiler that supports the latest C features.

<http://gcc.gnu.org/c99status.html> has the current status of the
development versions of gcc.  There are a lot of items listed as Broken or
Missing that I'm sure the gcc developers would welcome volunteer help
with.

(Note that there is not and quite likely never will be any standard syntax
for in-line assembly, as the standardization committee considers it to be
outside their scope, so I doubt you'll ever be completely successful.  But
I think your goal is one that can reap benefits even when only partially
accomplished.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

       reply	other threads:[~2000-11-04  6:19 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.g3i0smv.15loso7@ifi.uio.no>
     [not found] ` <fa.cjn9ksv.1a0m82t@ifi.uio.no>
2000-11-04  6:19   ` Russ Allbery [this message]
2000-11-04  8:40     ` non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?) Michael Meissner
2000-11-04  8:44       ` Russ Allbery
2000-11-06 12:06       ` Horst von Brand
2000-11-01 22:40 Where did kgcc go in 2.4.0-test10 ? J . A . Magallon
2000-11-01 23:45 ` David S. Miller
2000-11-02  0:21   ` Nathan Paul Simons
2000-11-02  0:11     ` David S. Miller
2000-11-02  0:32       ` H. Peter Anvin
2000-11-02 18:55         ` non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?) Tim Riker
2000-11-02 19:07           ` Alan Cox
2000-11-02 19:07             ` Tim Riker
2000-11-02 19:24               ` Ben Ford
2000-11-02 19:31                 ` Tim Riker
2000-11-02 20:37                   ` Theodore Y. Ts'o
2000-11-02 20:53                     ` Tim Riker
2000-11-02 21:06                       ` Christoph Hellwig
2000-11-02 22:46                       ` Theodore Y. Ts'o
2000-11-02 23:16                         ` Tim Riker
2000-11-03 12:02                       ` Martin Dalecki
2000-11-04 11:30                       ` Kai Henningsen
2000-11-02 20:53               ` Alan Cox
2000-11-02 21:04                 ` Tim Riker
2000-11-02 21:17                   ` Alan Cox
2000-11-02 21:23                     ` Andi Kleen
2000-11-04 11:37                   ` Kai Henningsen
2000-11-07 16:33               ` Jes Sorensen
2000-11-07 20:52                 ` Tim Riker
2000-11-07 21:06                   ` Richard B. Johnson
2000-11-07 22:08                     ` David Lang
2000-11-07 21:36                       ` Richard B. Johnson
2000-11-08  0:04                   ` yodaiken
2000-11-02 19:18             ` Andi Kleen
2000-11-04  5:34               ` Aaron Sethman
2000-11-06 17:14                 ` Ralf Baechle
2000-11-02 20:21           ` Andi Kleen
2000-11-02 20:27             ` Christoph Hellwig
2000-11-05 13:03             ` Kai Henningsen
2000-11-03 11:33           ` Thomas Pornin
2000-11-04 11:19           ` Kai Henningsen
2000-11-04 12:24         ` Kai Henningsen
2000-11-05  3:28           ` Michael Meissner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ylbsvww97j.fsf@windlord.stanford.edu \
    --to=rra@stanford.edu \
    --cc=Tim@Rikers.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).