Yeah – that sounds feasible. But I was wondering more about name mangling and decorations.
According to the gmp manual at https://gmplib.org/manual/Headers-and-Libraries.html#Headers-and-Libraries C++ builds need to link to “-lgmpxx –lgmp” but I don’t know how that translates to mpir. (With the OP’s configure args, no libgmpxx.a libgmpxx.dll.a would have been created.) However, I don’t do C++ and I don’t do dynamic builds ... so I should probably just shut up .... which I shall. Cheers, Rob From: Bill Hart Sent: Wednesday, June 03, 2015 11:09 PM To: mpir-devel Subject: Re: [mpir-devel] MPIR MinGW installation - "undefined reference to '_imp____gmpz_init' I don't think that is necessary. He's only using the C functions in his attached code, rather than the C++ classes. Bill. On 3 June 2015 at 15:04, <sisyph...@optusnet.com.au> wrote: From: Bill Hart In general we are not able to provide assistance with using the gcc compiler and linker. For this, perhaps you can refer to one of the many websites about compiling and linking using gcc, since it is not at all specific to MPIR. He's trying to use g++, which is the C++ compiler. Should his configure flags therefore have included "--enable-cxx" (or something similar) ? Cheers, Rob -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mailto:mpir-devel%2bunsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.