[#4766] Wiki — "Glen Stampoultzis" <trinexus@...>

21 messages 2000/09/04
[#4768] RE: Wiki — "NAKAMURA, Hiroshi" <nahi@...> 2000/09/04

Hi, Glen,

[#4783] Re: Wiki — Masatoshi SEKI <m_seki@...> 2000/09/04

[#4785] Re: Wiki — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/09/05

Howdy,

[#4883] Re-binding a block — Dave Thomas <Dave@...>

16 messages 2000/09/12

[#4930] Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/09/15

[#4936] Ruby Book Eng. translation editor's questions — Jon Babcock <jon@...>

20 messages 2000/09/16

[#5045] Proposal: Add constants to Math — Robert Feldt <feldt@...>

15 messages 2000/09/21

[#5077] Crazy idea? infix method calls — hal9000@...

This is a generalization of the "in" operator idea which I

17 messages 2000/09/22

[#5157] Compile Problem with 1.6.1 — Scott Billings <aerogems@...>

When I try to compile Ruby 1.6.1, I get the following error:

15 messages 2000/09/27

[ruby-talk:5159] Re: Application Error in 1.6.0 on Win2K

From: matz@... (Yukihiro Matsumoto)
Date: 2000-09-27 16:34:22 UTC
List: ruby-talk #5159
Hi,

In message "[ruby-talk:5154] Re: Application Error in 1.6.0 on Win2K"
    on 00/09/27, "Kevin Burge" <kcbspam@onemain.com> writes:
|
|This is still not fixed by the latest in CVS 1.6.1 (2000-09-27)
|[i586-mswin32]

How did you compile your extension library.  I've got an sucess report
from another i586-mswin32 user.  Here's his step to compile:

---
C:\lang\XPTRrb>type extconf.rb
require 'mkmf'
create_makefile('XPTRrb')

C:\lang\XPTRrb>type XPTRrb.c
#include "ruby.h"

static VALUE mXptr;
static VALUE cMessage;

__declspec(dllexport) void Init_XPTRrb(void) {

    mXptr = rb_define_module("Xptr");
    cMessage = rb_define_class_under(mXptr, "Oops", rb_cObject);
}

C:\lang\XPTRrb>ruby extconf.rb
creating Makefile

C:\lang\XPTRrb>nmake -nologo
        cl -DIMPORT -nologo -DNT=1 -Zi -O2b2x -G5 -IC:\usr\local\lib\ruby\1.6\i586-mswin32 -IC:/usr/local/include -c -o XPTRrb.obj XPTRrb.c
XPTRrb.c
        set LIB=C:\usr\local\lib\ruby\1.6\i586-mswin32;C:\Program Files\Microsoft Visual Studio\VC98\Lib
        cl -LD -DIMPORT -nologo -DNT=1 -Zi -O2b2x -G5 -o XPTRrb.so XPTRrb.obj  mswin32-ruby16.lib -link /EXPORT:Init_XPTRrb

C:\lang\XPTRrb>type test.rb
require "XPTRrb"
print "Hi!"

C:\lang\XPTRrb>ruby -v -I. test.rb
ruby 1.6.1 (2000-09-27) [i586-mswin32]
Hi!
C:\lang\XPTRrb>nmake -nologo site-install
XPTRrb.so -> C:/usr/local/lib/ruby/site_ruby/1.6/i586-mswin32/XPTRrb.so
chmod 0555 C:/usr/local/lib/ruby/site_ruby/1.6/i586-mswin32/XPTRrb.so

C:\lang\XPTRrb>
---

Hope this helps

							matz.

In This Thread

Prev Next