porting gmp to pnacl

2013-12-20 Thread Kovács Zoltán
Dear Developers, I am trying to port gmp properly to the PNaCl platform. There is already some work done in the web-shootout https://code.google.com/p/web-shootoutproject, it seems gmp can be ported without less pain, but I have three problems. I uploaded my planned changes for the naclports

Re: porting gmp to pnacl

2013-12-20 Thread Niels Möller
Kovács Zoltán zol...@geogebra.org writes: 3. When I try to compile a simple demo manually, this is what I get: kovzol@kovzol:~/tmp/nacl_sdk/naclports/src/out/repository/gmp-5.1.3/demos$ make isprime /home/kovzol/tmp/nacl_sdk/pepper_31/toolchain/linux_x86_newlib/bin/x86_64-nacl-gcc

Re: porting gmp to pnacl

2013-12-20 Thread Kovács Zoltán
Dear Niels, thank you for your kind answer. Meanwhile I learned I was compiling with the wrong toolchain settings. Now everything is fine. Nothing should be changed in GMP, it seems to work out of the box with PNaCl. I'll come back to you when I have a working PNaCl application based on GMP. Best,