64-bit

How can I compile an extension using cython?

倖福魔咒の 提交于 2019-12-20 17:24:06
问题 I am trying to compile a simple cython extension from the example page here on my Windows 7 64-bit machine with Python 2.6 64-bit version installed. I installed Cython 0.15.1 for Windows 64-bit version from Gohlke's page. Basically, the answer from here and here are not my options because I really do need Python 64-bit version to address larger memory. Also, because I am trying to compile using Microsoft SDK for .NET 4, I cannot use the approach in the latter solution. I tried the steps here

How to compile existing posix code for 64-bit Windows?

耗尽温柔 提交于 2019-12-20 15:46:28
问题 I'm ok with using Cygwin or MinGW, but I need to end up with 64-bit code, not 32-bit. This is because I will be calling the DLL from 64-bit managed C#. I can't seem to find and good references for setting up those tools to create 64-bit binaries. Also, it would be nice if the GCC was version 4, not version 3 as came with my Cygwin install. An alternative would be some form of interprocess communication. I will research that, but what I laid out above is what I really want. 回答1: The 64-bit

How to compile existing posix code for 64-bit Windows?

大城市里の小女人 提交于 2019-12-20 15:46:00
问题 I'm ok with using Cygwin or MinGW, but I need to end up with 64-bit code, not 32-bit. This is because I will be calling the DLL from 64-bit managed C#. I can't seem to find and good references for setting up those tools to create 64-bit binaries. Also, it would be nice if the GCC was version 4, not version 3 as came with my Cygwin install. An alternative would be some form of interprocess communication. I will research that, but what I laid out above is what I really want. 回答1: The 64-bit

Is it safe to use sys.platform=='win32' check on 64-bit Python?

情到浓时终转凉″ 提交于 2019-12-20 15:45:27
问题 The usual check to differentiate between running Python-application on Windows and on other OSes (Linux typically) is to use conditional: if sys.platform == 'win32': ... But I wonder is it safe to use today when 64-bit Python is more widely used in last years? Does 32 really means 32-bit, or basically it refers to Win32 API? If there is possibility to have one day sys.platform as 'win64' maybe such condition would be more universal? if sys.platform.startswith('win'): ... There is also another

How to make OpenGL apps in 64-bit Windows?

拟墨画扇 提交于 2019-12-20 12:27:02
问题 My project compiles, link and run in xp32 then I tried to cross compile it to x64 and I came across a lot of questions: There's no native x64 instalable OpenGL SDK so I link against what? I saw someone saying that x64 apps use 32bits opengl dll. I tryied to run my compiled 64-bits app in a xp64 with drivers to my video card (radeon 4850), the same I use on xp32 and I got that typical error "bla bla bla, maybe reinstalling you application will resolve the problem" If I use video card drivers

Visual Studio 2010 C++/CLI in Static Library Mode: could not find assembly 'mscorlib.dll'

前提是你 提交于 2019-12-20 12:03:54
问题 I am working on a C++/CLI project with VS 2012 in Dynamic Library (.dll) and x64 mode. If I switch the mode to Static Library, I get the error below. Error 1 error C1107: could not find assembly 'mscorlib.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable C:\Depot\Main\Current\Sln\ALibraryProject\Stdafx.cpp 1 1 ALibraryProject I tried removing the reference to the mscorlib.dll then adding it again from: Project > Properties > General >

How big can a 64bit signed integer be?

江枫思渺然 提交于 2019-12-20 11:05:57
问题 In redis, The range of values supported by HINCRBY is limited to 64 bit signed integers. And I'd like to know how big can that 64 bit signed integer be. 回答1: This article is good for more information about this topic: http://en.wikipedia.org/wiki/Integer_(computer_science) So the answer to the question should be: From -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807, or from −(2^63) to 2^63 − 1 The highest positive number stored in a signed int is represented binary as ----- 63 ones --

64 bit Assembly introduction

有些话、适合烂在心里 提交于 2019-12-20 10:48:23
问题 I am looking for an articles which introduce Intel 64 bit processor and Assembly: list of x64 registers, commands syntax etc. for programmers familiar with 32 bit Assembly. Kind of "What's new" for 64 bit processor. 回答1: The Intel 64 and IA-32 Architectures Software Developer's Manuals have everything you need. 回答2: http://www.codeproject.com/KB/vista/vista_x64.aspx http://msdn.microsoft.com/en-us/library/ms235286%28VS.80%29.aspx What are the calling conventions for UNIX & Linux system calls

Visual Studio: Different DLLs for configurations

天大地大妈咪最大 提交于 2019-12-20 10:42:06
问题 I'd like to make a x86 and x64 version of my application because some of the libraries I'm using have differences for x86 and x64 (e.g. SQLite). I made a new configuration for release builds that has as target operating system "x64". Is there a way to define different DLLs for the configuration e.g. use SQLite.dll for x86 release and SQLite64.dll for x64 release? Unfortunately I can't use the "any platform" option which is default because of those not x64 compatible DLLs. I want to support

How to late bind 32bit/64 bit libs at runtime

佐手、 提交于 2019-12-20 10:41:39
问题 I've got a problem similar to,but subtly different from, that described here (Loading assemblies and their dependencies). I have a C++ DLL for 3D rendering that is what we sell to customers. For .NET users we will have a CLR wrapper around it. The C++ DLL can be built in both 32 and 64bit versions, but I think this means we need to have two CLR wrappers since the CLR binds to a specific DLL? Say now our customer has a .NET app that can be either 32 or 64bit, and that it being a pure .NET app