Messages in this thread | | | Subject | Re: 2.3.26pre2 compile error | Date | Fri, 05 Nov 1999 09:42:25 -0300 | From | Horst von Brand <> |
| |
Jes Sorensen <Jes.Sorensen@cern.ch> said: > >>>>> "Peter" == Peter Samuelson <peter@wire.cadcamlab.org> writes: > Peter> [Keith Owens] > >> Did you really mean to link libgcc.a into the kernel? That cannot > >> be right, the kernel does not use external libraries.
> Peter> I don't think it's right either, but ... where would *you* > Peter> suggest finding a __divdi3 function? In a sense libgcc is not > Peter> really an external library, since it is part of gcc itself. I > Peter> guess the alternative for the kernel is just not to use any > Peter> functionality that gcc needs libgcc math functions for.
> Then you extract that single function from libgcc and put it in the > kernel instead of linking in the entire libgcc.a
That is ld(1)'s job. -- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
- 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/
| |