Re: 2.3.26pre2 compile error

Jes Sorensen (Jes.Sorensen@cern.ch)
06 Nov 1999 12:20:50 +0100


>>>>> "Horst" == Horst von Brand <vonbrand@inf.utfsm.cl> writes:

>> Jes Sorensen <Jes.Sorensen@cern.ch> said: >>>>> "Horst" == Horst
>> Rubbish, the kernel should never get even close to functions
>> provided from outside the kernel source tree.

Horst> Why not? I understand you can't link the kernel with libc, and
Horst> most (if not all) utility libraries simply make no sense in the
Horst> kernel's job. libgcc is a library that provides seldom-used
Horst> parts of the C language as functions, to which the compiler
Horst> generates calls as needed.

Because you end up losing control of what code is being compiled into
the kernel. Someone will modify a compiler which will then have a
different version of the routine in libgcc.a (or equivalent).

Jes

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