[ale] Driver question

Stephan Uphoff ups at stups.com
Wed Sep 4 14:14:04 EDT 2002



If your CPU lacks division ops you can either try to find the right
library in your libc (userland) sources or roll your own function.

Example implementation (found by google "integer division"):
http://www.bearcave.com/software/divide.htm



> Can you tell me the best way to do division?
> 
> 
> A = b / c;
> 
> I get the following unresolved symbol:
> 
> /sbin/rocket.o: unresolved symbol __udivdi3
> 
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list