----- 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.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to