Re: MAINTAINERS file out of date?



On Thu, Apr 26, 2007 at 10:27:47PM -0700, H. Peter Anvin wrote:
Eric W. Biederman wrote:
"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

A lot of that code (although, of course, not all) could be written in C,
though. I'm thinking of taking a stab at rewriting it that way.

Is this using the .code16gcc? Or are you thinking of some other
technique. Requiring another C compiler to build the kernel would
be a pain to use.

.code16gcc was what I was using. There is a GSoC project that I'm
mentoring to get 16-bit support for gcc, that will be possible to
eventually migrate to (for code size) if/when it gets implemented and
gets pushed out far enough, but that's for the future.

-hpa

Thanks! I will take a look at that file.

Maybe we can rewrite them in C, use a 16-bit C compiler to generate AT&T asm code and finally push the asm code in the kernel source tree. But perhaps there is no such ideal compiler. ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Compiling C++ modules
    ... nitty-gritty to the compiler to decide. ... So rewriting C with C++ would be as dumb as rewriting asm with C. ... Vector operator+(const __vr that) const ...
    (Linux-Kernel)
  • Re: MAINTAINERS file out of date?
    ... I'm thinking of taking a stab at rewriting it that way. ... it would not need a new compiler. ... the kernel, so there is much less opportunity for enhancement there. ...
    (Linux-Kernel)
  • Re: Larkin, Power BASIC cannot be THAT good:
    ... new version of a compiler because the compiler writers were too lazy to care ... Rewriting page after page of previous code to use a new langage ... What I really want is to be permentantly locked into using one vendors ... If I stick to PowerBasic for engineering apps I don't need to rewrite ...
    (sci.electronics.design)
  • Re: Evaluating/compiling forms in the current lexical environment.
    ... The rewriting details are not completely portable, of course, because ... e.g. that the compiler ... In which environment does the local macro expand? ... collecting data present in the special gensyms as they keep being referenced in ...
    (comp.lang.lisp)
  • Re: Compiling C++ modules
    ... And this is the problem, as kernel development is highly sensitive to compiler output, and which is why there are parts written in asm and others in C. ... So rewriting C with C++ would be as dumb as rewriting asm with C. ... Note though, C++ is not currently viable for kernel development, due to its enormous overhead generated by immature compiler technology. ...
    (Linux-Kernel)