32bit-64bit

Google warns developer to include 64-bit version for Android app

烈酒焚心 提交于 2019-12-07 07:05:26
问题 Google is warning developers that starting Aug 1, 2019, all apps must be 64-bit. I use Cordova to build our web app into an Android app and upload the generated 32-bit APK file into google play store The Cordova crosswalk plugin allow me to build both 32-bit and 64-bit versions using the commands cordova build android --release and cordova build android --release --xwalk64bit respectively. I used the same android version code for both the APKs when build Questions: Earlier I used to upload

64 bit assembly on Mac OS X runtime errors: “dyld: no writable segment” and “Trace/BPT trap”

混江龙づ霸主 提交于 2019-12-07 06:15:30
问题 When attempting to run the following assembly program: .globl start start: pushq $0x0 movq $0x1, %rax subq $0x8, %rsp int $0x80 I am receiving the following errors: dyld: no writable segment Trace/BPT trap Any idea what could be causing this? The analogous program in 32 bit assembly runs fine. 回答1: OSX now requires your executable to have a writable data segment with content, so it can relocate and link your code dynamically. Dunno why, maybe security reasons, maybe due to the new RIP

How to compile a C DLL for 64 bit with Visual Studio 2010?

家住魔仙堡 提交于 2019-12-07 05:04:37
问题 I have a DLL written in C in source code. This is the code for the General Polygon Clipper (in case you are interested). I'm using it in a C# project via the C# wrapper provided on the homepage. This comes with a precompiled DLL. Since switching to a 64bit Development machine with Visual Studio 2010 and Windows 7 64 bit, the application won't run anymore. This is the error I get: An attempt was made to load a program with an incorrect format. This is because of DLLImport ing the 32bit gpc.dll

32 bit operation vs 64 bit operation on a 64bit machine/OS

孤者浪人 提交于 2019-12-07 05:00:56
问题 Which operation i.e a 32 bit operation or a 64 bit operation (like masking a 32 bit flag or a 64 bit flag), would be cheaper on a 64 bit machine? 回答1: As you don;t specify an architecture, I can suggest only a general answer, as it depends on the operation and on the processor architecture in question. Once you have the data in a CPU register, then most operations will usually take the same amount of time regardless of whether the value was originally 32 or 64 bit. However, there can be some

Do any automated conversion tools exist for porting C++ code to 64-bit?

被刻印的时光 ゝ 提交于 2019-12-07 04:03:55
问题 I'm researching methods to port a large (>10M lines) amount of C++ code to 64-bit. I have looked at static code analyzers and compiler flags, and I am now looking at macros or other tools that can make common, repetitive changes. I've written a few regular expressions to see how well they work in practice, and as predicted, they're quite effective. That said, it takes a while to build the expressions in the first place, so I'd like to see if there are any lists of such expressions or software

How to get a big sparse matrix in R? (> 2^31-1)

南楼画角 提交于 2019-12-07 03:30:38
问题 I use some C++ code to take a text file from a database and create a dgcMatrix type sparse matrix from the Matrix package. For the first time, I'm trying to build a matrix that has more than 2^31-1 non-sparse members, which means that the index vector in the sparse matrix object must also be longer than that limit. Unfortunately, vectors seem to use 32-bit integer indices, as do NumericVectors in Rcpp. Short of writing an entire new data type from the ground up, does R provide any facility

MinGW GCC — Single 32-bit and 64-bit cross-compiler?

坚强是说给别人听的谎言 提交于 2019-12-07 03:11:40
问题 I've downloaded MinGW with mingw-get-inst, and now I've noticed that it cannot compile for x64. So is there any 32-bit binary version of the MinGW compiler that can both compile for 32-bit Windows and also for 64-bit Windows? I don't want a 64-bit version that can generate 32-bit code, since I want the compiler to also run on 32-bit Windows, and I'm only looking for precompiled binaries here, not source files, since I've spent countless hours compiling GCC and failing, and I've given up for a

.Net 4.0 app slower on 64 bit than 32 bit (Profiling and possible solutions) (app is using NetAdvantage)

你。 提交于 2019-12-07 00:13:39
问题 We have got .NET app written in VB .NET 4.0 / VS2010, compiled with all projects set to the AnyCPU setting for both Debug and Release configuration. We have noticed that when this app is run on a 64 bit environment (tested on Windows Server 2003 R2 and 2008 R2) that the app then takes at least double as long (in absolute terms about 25 secs) as opposed to around 6-12 seconds on a 32 bit environment (Win XP and 7) to start up. I should add that the 64 bit systems are powerful servers,

Run 64 bit assembly code on a 32 bit operating system

若如初见. 提交于 2019-12-07 00:05:41
Assuming you have a 64 bit capable processor running a 32 bit operating system. Would it be possible to run some 64 bit assembly instructions in a 32 bit program? Can't see why not if you have a 64 bit capable processor, but there are so many stingy technical issues in computing, especially the operating system. NOTE I am not talking about running a 64 bit program on a 32 bit os, just using 64 bit assembly instructions embedded in a 32 bit program. The thing you would most need to know on this is to make sure you make your processor mode transitions correctly. You need to do some basic work to

How to build 32bit python 2.6 on 64bit Linux?

好久不见. 提交于 2019-12-06 21:39:28
问题 I'm stuck for a full afternoon now trying to get python to build in 32bit mode. I run a 64bit Linux machine with openSUSE 11.3, I have the necessary -devel and -32bit packages installed to build applications in 32bit mode. The problem with the python build seems to be not in the make run itself, but in the afterwards run of setup.py, invoked by make. I found the following instructions for Ubuntu Linux: h**p://indefinitestudies.org/2010/02/08/how-to-build-32-bit-python-on-ubuntu-9-10-x86_64/