Get apps to support 32-bit and 64-bit basic steps1. Make sure that the Xcode version number >=5.0.12. Update project settings, minimum deployment target >= 5.1.13. Change architectures to standard architectures (include 64-bit)4. Run the test code, resolve the compilation wa
In recent work to use the Win64 data of OpenSSL, so the preliminary research, summary results such as the following: Note that the OpenSSL code is in a folder that does not have Chinese, otherwise "nmake-f Ms\ntdll.mak" may prompt "illegal characters in macros" such as Error One, OpenSSL WIN7 x64 compilation Environment: WIN7 64-bit. Compiler: VS2010 need t
not well set for the driver. In fact, the driver is a sys, is written in C language, so the compiler is not a problem in theory, but in the actual operation of a little trouble. Here is a description of the various platforms compiled SYS-driven methods (including 64-bit platform) First look at the 32-bit version-drive
Basic
1. VS has only x32bit version, no x64 version.
2. DOTNET framework including basic library (system. *), CLR, JIT compiler, etc, have x32 and x64 version. for example, I have a c: \ windows \ Microsoft. net \ framework and a C: \ WINDOWS \ Microsoft. net \ framework64 folder.
3. a dotnet Assembly only contains il before first time running, so at that time, it's not process-specific (x32/x64 ). by default, the platform target is "any CPU. "Remembe
What happened a week ago, when I wanted to feel the MySQL C API, I wrote a few small examples. Although it is on Windows (my work computer is 64-bit Windows) above, but do not want to use VS, just want to write the code with the text software and compile with CL, and then use the link links. Just after I've written the simplest example, it doesn't compile. The code is as follows:#include int main (intChar *
This article belongs to the Java Basic Interview series: the type of int in 32-bit and 64-bit what is different I read the topic after I think is not very understanding, should be unrelated to the operating system, online search is not a good article specifically described, more confused, consultation under the title: is plainly street ask, Or try to understand t
Management tools) Tool Set* All Coverage Tools* Drawing Tool (graphing tools, only the traditional 32-bit background processing)* Custom scripts, models, or function tools that have been disabled by the user for background processingNote: The Custom scripting tool may use 64-bit processes, and you need to make sure that no unsupported tools are invoked in the sc
that when the program is 64-bit compiled, the performance of C ++ is greatly improved, and the performance of C # is almost unchanged.
The two calculation accuracy should be the same. C ++ is because the output format scientific notation hides the decimals
Conclusion:
1. C # In WinForm and command line, the mathematical computing performance is equivalent
2. The performance of C # In 32bit is good
Recent work in the use of OpenSSL Win64 information, so the preliminary investigation, the summary results are as follows: Note that the OpenSSL code is in a directory that does not have Chinese, otherwise "nmake-f Ms\ntdll.mak" may prompt "illegal characters in macros" such as Error One, Openssl WIN7 x64 compilation Environment: WIN7 64-bit, compiler: VS2010
float, double : With IEEE standard floating-point number format, fixed float 32bit, double 64bitint is generally related to CPU register length, but also related to compiler, assemblerBecause C, the C + + standard does not specify a fixed length for integer types.Different operating systems and compilers for the same CPU, the length specified for the int type is differentSo in order to distinguish these differences, there is the data model of this kin
quotient we require.The principle is as follows: VALUE/10 ~= [[(Value * 0xCCCCCCCD)/2^32]/2^3], square brackets represent rounding.The first thing we need to know is that the result of the 32-bit unsigned integer (uint32_t) on Intel x86 is actually a 64-bit integer, namely uint64_t, the result of multiplying is stored in EAX and edx two registers, EAX, edx is 32
,XMM7 in 32-bit code is not required to protect). Saving SSE registers is cumbersome, it cannot be used as a regular register with a stack and a stack of statements, but there is a savenv pseudo-directive in basm is very convenient (I do not know whether this is basm unique, or other compilations common), such as .savenv xmm7 (note savenv before a point) , the Delphi compiler adds statements that protect an
instructions), change the directory to the directory where Visual Studio is installed. For example: \ Microsoft Visual Studio \ common \ msdev98 \ bin, and then press msdev.exe.
Note: In the previous settings, the 64-bit environment variable has been created. The Executable Directory of IDE has been adjusted to the corresponding directory of the SDK, that is, as an executable program: the
compiler can't tell us everything)5. Test on the real 64-bit machine.6. Use instruments to view memory usage issues.Major changes in 64-bitThe 64-bit runtime environment and the 32-bit
libraries threw badimageformatexception. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed"
The specific environment is:
Win2008 64
Vs 2010
There is no problem in the development and debugging process, and the problem of deployment comes.
After a lot of changes, the
specify the calling of external assembler functions as the _ cdecl call Convention. That is, if the asm_rng_available function in the Assembly file is called in the C file, the declaration method should be as follows:Extern int _ cdecl asm_rng_available ();After the _ cdecl call convention is forcibly specified, the asm_rng_available function generated by the C compiler and the function name generated in the Assembly file are the same.In the
. I am using a CentOS6.664-bit system. because the installation of the gcc compiler is not checked during system installation, you need to install the gcc compiler on your own. Install gcc using yum for Linux releases with yum, install gc
For more information about installing the gcc compiler in Linux (CentOS 6.5
, and ibm z/OS native compilers). Microsoft's VC ++ compiler usesLlp64Model.
The maximum difference between the two data models is the size of the long data model. The lp64 value is 64-bit, while the llp64 value is 32-bit.
Llp64 Data Model is basically the same as a 32-bit s
xffffffffffffff.However, unsigned long I =-1; in lp64, I is assigned 0 xffffffffffffff,-1 is int32, upgraded to int64 first (then the symbol bit will be extended), and then converted to uint64, therefore, it is F.
4. default compilation parameters: to maintain compatibility with a large number of existing 32-bit programs, if no additional parameters are attached, the GCC
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.