[mpir-devel] Re: Failure on MSYS

2009-07-06 Thread Peter_APIIT
What type of library i build static or DLL ? Which file to include in linker additional dependencies ? Thanks for your help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group,

[mpir-devel] Re: Failure on MSYS

2009-07-03 Thread Peter_APIIT
I have copy the yasm rules to C:\Program Files\Microsoft Visual Studio 9.0\VC\VCProjectDefaults and download yasm win 32.exe and renamed it to yasm and copy it to C: \Program Files\Microsoft Visual Studio 9.0\VC\bin Then i click on build solution and it works good. What about next ? Thanks for

[mpir-devel] Re: Failure on MSYS

2009-07-01 Thread Peter_APIIT
On Jun 30, 6:22 pm, Cactus wrote: > On Jun 30, 3:06 am, Peter_APIIT wrote: > > > > > On Jun 26, 7:05 pm, Cactus wrote: > > > > On Jun 26, 9:55 am, Peter_APIIT wrote: > > > > > On Jun 24, 5:17 pm, Cactus wrote: > > > > > > On

[mpir-devel] Re: Failure on MSYS

2009-06-29 Thread Peter_APIIT
On Jun 26, 7:05 pm, Cactus wrote: > On Jun 26, 9:55 am, Peter_APIIT wrote: > > > > > On Jun 24, 5:17 pm, Cactus wrote: > > > > On Jun 24, 9:35 am, Peter_APIIT wrote: > > > > > OK, i using Visual Studio Express C++ 2008 to build MPIR but how t

[mpir-devel] Re: Failure on MSYS

2009-06-26 Thread Peter_APIIT
On Jun 24, 5:17 pm, Cactus wrote: > On Jun 24, 9:35 am, Peter_APIIT wrote: > > > OK, i using Visual Studio Express C++ 2008 to build MPIR but how to > > build it? > > > Anyone here can teach me. > > Hello Peter > > In order to build MPIR using Visual St

[mpir-devel] Re: Failure on MSYS

2009-06-24 Thread Peter_APIIT
OK, i using Visual Studio Express C++ 2008 to build MPIR but how to build it? Anyone here can teach me. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email t

[mpir-devel] Re: Failure on MSYS

2009-06-22 Thread Peter_APIIT
I cannot wait any longer for the problem to be solved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com To unsubscribe from this gro

[mpir-devel] Re: Failure on MSYS

2009-06-20 Thread Peter_APIIT
On Jun 20, 11:37 am, jason wrote: > As a summary of what I know that works > > cygwin- > Everything works , static and shared librarys can be build(but > separately)  , they pass make check > and they install correctly  into /usr/local  , so they are availible > for the usual build proc

[mpir-devel] Re: Failure on MSYS

2009-06-19 Thread Peter_APIIT
int main() { /* mpz_class first(123), second(123), result(0); result = first + second; result = result - second; result = first * second; result = first / second; cout << result.get_d(); */ mpz_t a, b, c; mpz_init(a); mpz_init(b); mpz_init(c); mpz_set_str(a, "123", 10); mpz_set_str

[mpir-devel] Re: Failure on MSYS

2009-06-16 Thread Peter_APIIT
I just want to solve the alloca issue on my window. Anyone have the answers for this question ? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir

[mpir-devel] Re: Failure on MSYS

2009-06-11 Thread Peter_APIIT
I just want to solve the alloca issue on my window. I can read up the NPIR documentation for the interface issue. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, se

[mpir-devel] Re: Failure on MSYS

2009-06-10 Thread Peter_APIIT
When i try to mpz_t a, b, c; mpz_init(a); mpz_init(b); mpz_init(c); mpz_set_str(a, "123", 10); mpz_set_str(b, "1244", 10); mpz_set_str(c, 0, 10); It also gives unresovled external symbol. error LNK2001: unresolved external symbol __allocalibmpir.a error LNK2001: unresolved

[mpir-devel] Re: Failure on MSYS

2009-06-10 Thread Peter_APIIT
Why all function accept mpz_t argument only ? Then, the C++ interface is useless except it uses operator overloading only. I need to pass mpz_class to some function. Any idea i can do that ? --~--~-~--~~~---~--~~ You received this message because you are subscrib

[mpir-devel] Re: Failure on MSYS

2009-06-10 Thread Peter_APIIT
I get unresolved external symbol when i try to multiply or divide. #include #include #include using namespace std; // // // int main() { mpz_class fi

[mpir-devel] Re: Failure on MSYS

2009-06-09 Thread Peter_APIIT
I get the libmpirxxx.la and libmpir.a rather than these two you mentioned mpir.lib and mpirxx.lib. This is the command i type. ./configure --enable-cxx make clean make make check --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[mpir-devel] Re: Failure on MSYS

2009-06-04 Thread Peter_APIIT
How about command to rebuild with cpp interface in static library format ? I lazy to read that. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-d

[mpir-devel] Re: Failure on MSYS

2009-06-03 Thread Peter_APIIT
On 30 May, 18:38, Bill Hart wrote: > Ah, this issue is discussed for GMP here: > > http://gmplib.org/list-archives/gmp-bugs/2008-July/001047.html > > Exactly the same thing is happening in MPIR because originally MPIR > started from the GMP codebase and no changes we have made since have > rect

[mpir-devel] Re: Failure on MSYS

2009-05-30 Thread Peter_APIIT
It works just fine after reversing command the command i type is ./configure --enable-cxx --disable-static --enable-shared make make check return 9 test failed but your command works perfectly. ./configure --enable-gmpcompat make clean make make check I issue make clean after make. Is there

[mpir-devel] Re: Failure on MSYS

2009-05-26 Thread Peter_APIIT
I just need the header file and .lib library file. Please sent it to me. I using MS Visual C++ Express 2008. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send em

[mpir-devel] Re: Failure on MSYS

2009-05-26 Thread Peter_APIIT
led: > > ./configure --enable-assert > make clean > make > make check > > That may print information which is not printed by default. > > Thanks. > > Bill. > > 2009/5/23 Peter_APIIT : > > > On 23 May, 13:31, Bill Hart wrote: > I just tried building

[mpir-devel] Re: Failure on MSYS

2009-05-26 Thread Peter_APIIT
it does fail. > > Bill. > > 2009/5/23 Bill Hart : > > > It looks like Peter has 32 bit XP from the log, so 64 bit build won't > > work anyway. But the 32 bit version should work in MSVC of course. > > > Bill. > > > 2009/5/23 Cactus : > > >>

[mpir-devel] Re: Failure on MSYS

2009-05-26 Thread Peter_APIIT
On 23 May, 18:30, Cactus wrote: > On May 23, 11:06 am, Peter_APIIT wrote: > > > > > On 23 May, 13:31, Bill Hart wrote: > > > > I just tried building MPIR with the latest MSYS on my K8 and no > > > problems. So something strange is going on I think. >