On Mon, 12 Mar 2001, Philip Andrew Ferguson wrote:

> For some reason, I cannot use the mod (%) or div (/) functions.  I always
> get an error at compile time saying that there were undefined references
> to "__modsi3" and "__divsi3".

You can try to link it with libgcc.a (locate it).
On i86 one can get such problem when dividing "long long" (8
byte) integers.

--
Tomek


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to