[uClibc]uclibc/arm7tdmi div & mod
mr mao
mr_mao at 21cn.com
Mon Sep 18 02:03:06 UTC 2000
At 00-9-16 8:32:00 David Schleef wrote:
>On Sat, Sep 16, 2000 at 07:53:52PM +0800, mr mao wrote:
>> Hi,all,
>> I use uclibc/arm7stdmi's tools arm-uclinux-gcc and so on to compile
>> file .When use div(/) and mod(%), it need symbol "__udivsi3" and "__umodsi3".
>> but I can not find them in libs.
>> Can anyone help me?
>>
>
>These functions are defined in libgcc. (libgcc is the library that
>contains compiler-internal functions for math operations that aren't
>simple assembly instructions.) Usually, libgcc is automatically
>linked unless you use the -nostdlib flag, which is what I assume
>that you are doing. -lgcc will pull it back in.
>
Thank avid Schleef very much! I have done so and success come.
mr mao Email: mr_mao at 21cn.com
More information about the uClibc
mailing list