Dmitry Kargapolov wrote:
>
> Hello.
> When I successfully compile rt-module with lines:
>
> long long a, b, c;
> ...
> a = b / c;
>
> I have message about undefined symbol __divdi3 during insmod
> executing.
> Can I use such long dividing within rt-modules?
> PLatform was i386 (without i387).
> Thanks.
Hi Dmirty,
You need to statically link with libgcc.a (-lgcc), on my machine it can
be found at
/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/
If you have a different compiler version, you will need to alter the
path accordingly
Regards, Stuart
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/