[ANN] ruby 1.8.2

Hi,

At Sun, 26 Dec 2004 02:36:55 +0900,
Shashank Date wrote in [ruby-talk:124452]:

I could get rid of them by adding this script to win32\win32.c:

   #if (_MSC_VER >= 1300) && (WINVER < 0x0500)
   //VC7 or later, building with pre-VC7 runtime libraries

It is invalid in general.

    extern long _ftol( double ); //defined by VC6 C libs
    extern long _ftol2( double dblSource ) { return _ftol( dblSource ); }
   #endif

Is this the correct way?

No. You should fail to install a runtime library or use wrong
one.

···

--
Nobu Nakada

... miniruby: No such file to load -- ubygems (LoadError)

See [ruby-talk:123332] and [ruby-talk:123401]

You have probably RUBYOPT or RUBYLIB which make reference to an old
installation

Guy Decoux

Hi Nobu,

···

nobu.nokada@softhome.net wrote:

At Sun, 26 Dec 2004 02:36:55 +0900,
Shashank Date wrote in [ruby-talk:124452]:

I could get rid of them by adding this script to win32\win32.c:

  #if (_MSC_VER >= 1300) && (WINVER < 0x0500)
  //VC7 or later, building with pre-VC7 runtime libraries

It is invalid in general.

   extern long _ftol( double ); //defined by VC6 C libs
   extern long _ftol2( double dblSource ) { return _ftol( dblSource ); }
  #endif

Is this the correct way?

No. You should fail to install a runtime library or use wrong
one.

I am not sure I understand what you are suggesting here.

Thanks,
-- shanko

ts schrieb:

See [ruby-talk:123332] and [ruby-talk:123401]

You have probably RUBYOPT or RUBYLIB which make reference to an old
installation

Thanks, I figured that removing the old ruby installation from the
path would be enough. After removing RUBYOPT from my
system variables everything was fine...

/Christoph

Hi,

At Sun, 26 Dec 2004 14:36:54 +0900,
Shashank Date wrote in [ruby-talk:124469]:

I am not sure I understand what you are suggesting here.

VC7 must have its own runtime libraries, and you have to use
them if you compile by it. Otherwise, not only ruby but also
all programs would need your patch.

···

--
Nobu Nakada