32-bit

How to force /usr/bin/gcc -> /usr/bin/gcc -m32?

余生颓废 提交于 2019-12-18 03:46:22
问题 I have bad Makefile(s) of a large bundled software distribution. In some point compiler always "forgets" that I want to compile in 32 bit program. This causes that part of the programs have 64 bit libraries and others have 32 bit libraries. How can I force -m32 option every time that I run gcc? br, Juha P.S. My environment is mixed 32/64 bit (macbook5.1, snow leopard). Alternatively: How can I make my system purely 32 or 64 bits? edit: Emphasis on the bad Makefiles that override the global

What are the lower level advantages and disadvantages of 64-bit/32-bit?

与世无争的帅哥 提交于 2019-12-18 00:36:10
问题 I'm sure we've all heard the terms 64bit and 32bit thrown around, but what do they actually mean? I'm pretty sure they have to do with the size of a memory address. On a 64bit machine, a reference to an object is 64 bits. But I want to dig a little deeper.... One often hears the phrase "64bit machine." What part of the computer is actually geared toward the number of bits? Processor? Operating System? What is the advantage of having larger memory addresses? I could add more questions, but I

How to increase intellij 32bit xmx more than 1GB?

痴心易碎 提交于 2019-12-17 22:23:06
问题 I am using 32bit Intellij on my 32bit windows XP with 4 GB of RAM. I am attempting to increase intellij xmx to 1.5GB : -Xmx1500m So I know JVM support 1.5GB of RAM in 32bit systems. But this error throws from JVM : The JVM could not be started. The maximum heap size (-Xmx) might be too large ... I can't increase intellij Xmx more than 900MB Please help me! 回答1: You can't do it as JVM needs to allocate all the heap in a single continuous chunk, which may not be possible because of the memory

What is the best 32bit hash function for short strings (tag names)?

社会主义新天地 提交于 2019-12-17 21:45:17
问题 What is the best 32bit hash function for relatively short strings? Strings are tag names that consist of English letters, numbers, spaces and some additional characters ( # , $ , . , ...). For example: Unit testing , C# 2.0 . I am looking for 'best' as in 'minimal collisions', performance is not important for my goals. 回答1: If performance isn't important, simply take a secure hash such as MD5 or SHA1, and truncate its output to 32 bits. This will give you a distribution of hash codes that's

How can I enable my 32-bit Delphi application to use 4gb of memory on 64-bit windows (via Wow64.exe)?

你离开我真会死。 提交于 2019-12-17 19:15:59
问题 According to this MSDN page: WOW64 enables 32-bit applications to take advantage of the 64-bit kernel. Therefore, 32-bit applications can use a larger number of kernel handles and window handles. However, 32-bit applications may not be able to create as many threads under WOW64 as they can when running natively on x86-based systems because WOW64 allocates an additional 64-bit stack (usually 512 KB) for each thread. In addition, some amount of address space is reserved for WOW64 itself and the

Skipping Incompatible Libraries at compile

半城伤御伤魂 提交于 2019-12-17 07:17:18
问题 When I try to compile a copy of my project on my local machine, I get an error stating that it 's skipping over incompatible libraries. This isn't the case when I'm messing around with the live version hosted on the server at work [it makes perfectly there]. Various other sites have lead me to believe that this might be an environment issue, as I'm developing on a 64-bit distro of Ubuntu and I assume the server version is running on 32-bit. Nevertheless, after setting my environment variables

How do I run a VBScript in 32-bit mode on a 64-bit machine?

陌路散爱 提交于 2019-12-17 04:18:51
问题 I have a text file that ends with .vbs that I have written the following in: Set Conn = CreateObject("ADODB.Connection") Conn.Provider = "Microsoft.ACE.OLEDB.12.0" Conn.Properties("Data Source") = "C:\dummy.accdb" Conn.Properties("Jet OLEDB:Database Password") = "pass" Conn.Open Conn.Close Set Conn = Nothing When I execute this on a Windows 32-bit machine it runs and ends without any notion (expected). When I execute this on a Windows 64-bit machine it gets the error Provider cannot be found.

“An attempt was made to load a program with an incorrect format” even when the platforms are the same

谁说胖子不能爱 提交于 2019-12-16 20:12:31
问题 I'm calling functions from a 32-bit unmanaged DLL on a 64-bit system. What I get is: BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) At first, I had my projects set to the Any CPU platform, so I changed them both to x86, but this error is still occurring. That's really the only fix I know for this. The DLLs aren't corrupt or anything, because I can use them with other programs (that I don't have the source to). I

Install Ruby 1.9.2 on Mac OSX 10.6 with 32bit version

喜你入骨 提交于 2019-12-14 04:02:34
问题 I have started with Ruby app development and I see that there are many Ruby Gems which don't work on 64bit (which I have installed right now). Their moderators have suggested to use 32bit build for Snow Leopard(10.6). I went to Ruby's website, but didn't find a separate installer for Ruby 1.9.2 for 32bit 10.6 So, how do I fix it? Will I have to remove my existing Ruby 1.9.2 and install the 32bit version? Thanks UPDATE 1 Problem This is what the moderators told me: You may be a bit stuck for

64 Bit application communicating with 32bit process

笑着哭i 提交于 2019-12-14 01:35:37
问题 I have 32 bit application using 32 bit third party library. Now I have to make my application 64 bit , so that it can take advantage of 64 bit address space ( large memory ). Since I can not load 32bit library into 64bit application process, I am thinking of creating 32bit executable wrapper over third party library and communicate from my 64 bit app using IPC ( named pipe/socket ). So my question is would their any issue in doing so ?. Also if I have to install my application on 64 bit