Message boards : Projects : Validate WinXP vs. Win2000 under MinGW
Message board moderation
Author | Message |
---|---|
Send message Joined: 27 Jun 06 Posts: 305 |
We found that there are small calculation differences in the versions of msvcrt.dll, that come with Windows 2000 based and Windows XP based operating systems. One possible solution is to use a specific VC runtime by overriding the default DLL in the linker specs, e.g. : CC = mingw32-gcc ..... -specs=local_gccspecs ... all: local_gccspecs $(PROGS) local_gccspecs: . <tab>mingw32-gcc -dumpspecs|sed 's/-lmsvcrt/-lmsvcr71/g'>local_gccspecs This worked for us in the 32-bit 4.4.0 of MinGW/GCC, it will probably not work with the x64 4.5.0 because there seems not to be such a DLL there (and thus no import library either of course) I assume that the functions that are affected are the exponential ones. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.