On 08/01/2014 11:33, Gisle Vanem wrote:
> "Brian Gladman" <b...@gladman.plus.com> wrote:
> 
>> On Windows versions prior to Windows 7, GetPerformanceInfo is provided
>> by psapi.dll rather than kernel32.dll so psapi.dll would need to be
>> added to the link stage of the build on this OS.
> 
> Right. Or better, the function could be loaded dynamically from
> psapi.dll / kernel32.dll depending on OS.
> 
>> I would expect MSVC 2010 on your system to automatically add this DLL to
>> the link stage of the build but it seems that you may have to do this
>> manually.
> 
> psapi.lib is NOT among the default libs (link pulls in few standard libs
> by default, compared to MingW).

Which appears to be an inconsistency in the Microsoft build process
since the build succeeds without having to add this library in later
Windows OS's.   I would guess that adding psapi.lib to the build would
solve this since this would hopefully not cause problems on later OS
builds where it is not needed.  But I doubt that its worth taking the
risk in order to solve a problem on Windows XP since this is now a
rather old OS.

>> If you can tarck it down to an MPIR issue, I will happily see if any
>> changes needed can be incorporated into MPIR.
> 
> I'm having a hard time understanding the build-process, so that would
> be next to impossible.  I have to study the .tlog files from msbuild to
> check.

If you have a solution, please don't feel the need to do this as it is
very unlikely that the MPIR build files for MSVC 2010 will be updated to
accommodate any needed changes as they are no longer being maintained
(and won't be unless someone volunteers to do this).

   Brian

-- 
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/groups/opt_out.

Reply via email to