Compiling ruby for XP64

Hi,

I’m trying to compile ruby 1.8.6 for native 64bit XP OS.
I’m using MS Platform SDK for Windows Server 2003 R2 and building with
64bit build environment.

Any one had tried this… the reason is we would like to run extension
dlls in native 64bit. I appreciate if some one can reply with his
thoughts or experience doing this.

I mainly have seen issues with :

  • Running the configure bat file results an error that does not proceed
    to build the make file.
    C:\ruby-1.8.6original\ruby-1.8.6\win32>nmake -alf “~tmp~.mak”
    NMAKE : fatal error U1077: ‘cl’ : return code ‘0x2’
    Stop.
  • There are come assembly code in couple of files which can not be
    compiled in AMD64.
  • There is also Context structure that is different than IX86

regards
Wael

Is there any one who worked on building ruby for XP64 bit?

Regards
Wael

Hi,

I’m trying to compile ruby 1.8.6 for native 64bit XP OS.
I’m using MS Platform SDK for Windows Server 2003 R2 and building with
64bit build environment.

Any one had tried this… the reason is we would like to run extension
dlls in native 64bit. I appreciate if some one can reply with his
thoughts or experience doing this.

I mainly have seen issues with :

  • Running the configure bat file results an error that does not proceed
    to build the make file.
    C:\ruby-1.8.6original\ruby-1.8.6\win32>nmake -alf “~tmp~.mak”
    NMAKE : fatal error U1077: ‘cl’ : return code ‘0x2’
    Stop.
  • There are come assembly code in couple of files which can not be
    compiled in AMD64.
  • There is also Context structure that is different than IX86

regards
Wael

Wael wrote:

I mainly have seen issues with :

  • Running the configure bat file results an error that does not proceed
    to build the make file.
    C:\ruby-1.8.6original\ruby-1.8.6\win32>nmake -alf “~tmp~.mak”
    NMAKE : fatal error U1077: ‘cl’ : return code ‘0x2’
    Stop.
  • There are come assembly code in couple of files which can not be
    compiled in AMD64.
  • There is also Context structure that is different than IX86

I don’t think it’s possible to build a 64 bit Ruby on Windows. See
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/20176 and
following.

Regards,

Dan