lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.3.26pre2 compile error
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.147 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site