[squeak-dev] [Nicolas Cellier] Montgomery modulo algorithm plugin code

Rob Withers reefedjib at gmail.com
Sun Sep 5 02:10:53 UTC 2010


Nicolas,

I finally got a vm built using Cog.  I added your code and it had problems. 
I recast the vars as pragmas, but there is still a problem (remapping oops?)

../../../src/plugins/LargeIntegers/LargeIntegers.c: In function 
`primMontgomeryT
imesModulo':
../../../src/plugins/LargeIntegers/LargeIntegers.c:3007: error: 
`secondInteger'
undeclared (first use in this function)
../../../src/plugins/LargeIntegers/LargeIntegers.c:3007: error: (Each 
undeclared
 identifier is reported only once
../../../src/plugins/LargeIntegers/LargeIntegers.c:3007: error: for each 
functio
n it appears in.)
../../../src/plugins/LargeIntegers/LargeIntegers.c:3008: error: 
`thirdInteger' u
ndeclared (first use in this function)
make[1]: *** [LargeIntegers.o] Error 1

Rob 




More information about the Squeak-dev mailing list