Skip to contentSkip to conversation

How can I link the kernel with libgcc ?

DISCUSSION Robert Hancock 1 participant 1 message Mar 10, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Carlos Munoz

Hi all,

I'm writing an audio driver and the hardware requires floating point arithmetic. When I build the kernel I get the following errors at link time:

Floating point + kernel = no no. If the hardware requires floating point manipulations this should go in userspace.

Quoted 1 line

These symbols are coming from gcc. What I would like to do is link the kernel with libgcc to solve this errors. I'm looking at the kernel makefiles and it doesn't seem obvious to me how to do it. Does anyone know how I can link the kernel with libgcc, or point me in the right direction ?

This is almost certainly a bad idea. The functions inside libgcc are not designed to run inside a kernel.

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/