[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-rt
Subject: Re: using math.h functions in RT-module
From: Fred proctor <frederick.proctor () nist ! gov>
Date: 1997-09-02 11:05:16
[Download RAW message or body]
Many of the math.h functions are not provided in the kernel. I had to track
them down in the Gnu C library, and manually link them together into a .o
file suitable for loading with insmod. Here's a link line (edited) from my
makefile:
yourmodule.o: \
yourfiles.o
ld -r -static \
$^ \
/usr/lib/libm.a \
/usr/lib/gcc-lib/i386-linux/2.7.2.1/libgcc.a \
/usr/lib/libc.a \
-o $@
--Fred
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic