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

> Hello.
>
> I am working with a "nanoEngine" from Brightstar Engineering.  I has a
> SA1110.
>
> 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".
>
> Is there something I'm doing wrong?  Should I be including some library or
> something?

You should include libgcc.a.  To find its location, do

        arm-linux-gcc --print-libgcc-file-name


Nicolas


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

Reply via email to