Re: 2.3.26pre2 compile error

Jes Sorensen (Jes.Sorensen@cern.ch)
05 Nov 1999 13:24:17 +0100


>>>>> "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

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/