[Win32utils-devel] win32-api on Windows 7
Daniel Berger
djberg96 at gmail.com
Tue Feb 2 22:18:33 EST 2010
On Sat, Jan 30, 2010 at 12:06 PM, Luis Lavena <luislavena at gmail.com> wrote:
> On Sat, Jan 30, 2010 at 4:10 PM, Daniel Berger <djberg96 at gmail.com> wrote:
>>
>> Forgive me if I'm being dumb:
>>
>> // gcc 3.4.5 on Win7
>> #include <stdio.h>
>>
>> int main(){
>> printf("Size of void* : %i\n", sizeof(void*)); // 4
>> printf("Size of long: %i\n", sizeof(long)); // 4
>> return 0;
>> }
>>
>> They both show 4 for me.
>>
>> Is there anything we can do to make win32-api work on 64 bit windows?
>>
>> There is check_sizeof in mkmf.rb, if that helps at all.
>>
>
> GCC 3.4.5 is 32bits application, even when running on 64bits OS.
> (yeah, the joys of WOW64)
>
> I think mkmf one will work for you, since will use the same compiler
> used by Ruby in the same compilation mode, so will generate the
> expected sizeof.
Actually, I'm seeing this on my XP VM as well, so I don't think it's a
64 bit issue.
And I'm seeing rm.exe segfault there as well.
Can you confirm?
Regards,
Dan
PS - What's happened to mingw.org?
More information about the win32utils-devel
mailing list