gmp library on microcontroller

Michał spock2 at o2.pl
Thu Jun 25 14:49:44 CEST 2009


Shrikant Vinchurkar pisze:
> Hello ,
>                I want to know whether gmp library could be used on micro
> controller. Also , I just want to use the  exponential functions  ( mpz_powm
> ) . How can I manage space for using it in embedded environments ? Isn't
> that for using just a function I need to load entire library ?
>   
Yes it is possible. I did it on ARM at91sam7s256. As far as I know 
memory is being allocated on heap. The simplest way to check heap status 
is to allocate anything and read address value. If your momery is not 
fragmented, this is the end of the heap.


More information about the gmp-discuss mailing list