On Wed, Apr 27, 2011 at 7:01 AM, Sisyphus <[email protected]> wrote: > Hi, > > On Windows Vista I have been using the 64-bit 4.6.0 cross-compiler > (automated build 20100414) for close on 12 months. > > I'm now finding that the static and import libraries built using it are > unusable by any of the recent 64-bit compilers (and vice versa). Looks like > they require different global symbols prefixes, as I keep getting undefined > references whenever I try to mix these libraries and compilers ? >
Win64-targeting builds from mingw-w64 up to 2010-04-27 didn't follow MSVC x64 convention and did *not* prepend an undersocore to the symbols: this is why you are seeing the incompatibilities with the newer toolchains. All win64-targeting toolchains created after 2010-04-28, including the sezero's gcc-4.4-based personal builds follow the MS convention. You should not be using those old toolchains. > The "recent" compilers I've tried are automated builds 20110207, 20110408 > (both 4.5.3) and 20110410 (4.7.0). Yet, in the past, I've had no trouble > mixing libraries between that 4.6.0 compiler and an (equally old) 4.4.3 > compiler. > So I'm thinking the incompatibility has nothing to do with the fact that > they have different gccversion numbers - rather that something changed in > the way these compilers are now built. > > If I'm wrong about that, can anyone point me to a "recent" build of 4.6.0 > that *would* be compatible with the 4.6.0 that I already have ? > My interest in "recent" compilers is that they seem to be the only ones > capable of building mpir. My old 4.6.0 compiler certainly can't ... with me > at the helm, anyway. But I have no trouble at all using 20110410 (4.7.0)... > if only I could then use the resultant static library with the 4.6.0 > compiler .... > > Cheers, > Rob -- Ozkan ------------------------------------------------------------------------------ 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
