On Thursday 28 April 2011 10:57:19 Sisyphus wrote: > ----- Original Message ----- > From: "Sisyphus" > > > Apart from 'gcc -v' or 'gcc --version' there's apparently nothing - and I > > have at least one mingw64 64-bit compiler that doesn't report the date > > even > > then. > > But on the mingw64 mailing list (where I asked about this, in the thread > "Compiler incompatibilities") Ozkan presented this possible alternative: > > ###quote### > In that case, if mpir is using autotools a configury check > can be done. I have the following in one of my projects > which can be adapted to their needs I guess: > > dnl === Check for underscore on external symbols ===================== > AC_MSG_CHECKING(whether external symbols need an underscore prefix) > AC_TRY_LINK( > [asm(".long _bar"); > int bar;], > [], > AC_DEFINE(HAVE_SYM_PREFIX_UNDERSCORE, 1, [Define this if C symbols > are prefixed with an underscore]) AC_MSG_RESULT(yes), > AC_MSG_RESULT(no) > ) > ###end quote### > > Thanks again, Ozkan. >
Yes thanks , I'll give it a go , I assume your happy with us placing the above code under a LGPL 2.1+ licence ? Thanks Jason > Cheers, > Rob > > > --------------------------------------------------------------------------- > --- WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Mingw-w64-public mailing list > mingw-w64-pub...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- 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 group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.