Re: question about libc.a libgcc.a

Russell King (rmk@arm.linux.org.uk)
Fri, 27 Jul 2001 21:02:15 +0100


On Fri, Jul 27, 2001 at 02:55:59PM -0400, Hai Xu wrote:
> The following are my link libraries.
> #LIBS =
> $(MATLAB_ROOT)/rtw/c/lib/$(ARCH)/lrtwLib.a -L/usr/lib/gcc-lib/i386-redhat-li
> nux/2.96 -lgcc -L/usr/lib -lm -lc $(EXT_LIB) $(S_FUNCTIONS_LIB)
> $(INSTRUMENT_LIBS)

Umm, if you're linking a kernel module, you can't:

1. link libm
2. link libc
3. use floating point in kernel

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/