Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > msvcrt-ruby18.dll ?

Reply
Thread Tools

msvcrt-ruby18.dll ?

 
 
Phil Tomson
Guest
Posts: n/a
 
      02-03-2004
I tried building Ruby from source on Windows using MSVC++ today. I
notice that a dll gets built: msvcrt-ruby18.dll

I've got a couple of questions about this:
1) how does this dll differ from the standard msvcrt.dll that comes
with Windows?
2) can't I just statically link so there is no dependence on this dll?

I'm planning to embed Ruby into a C program. I want to build one
standalone executable; I'd rather not have to ship a dll file as well.

Phil
 
Reply With Quote
 
 
 
 
daz
Guest
Posts: n/a
 
      02-03-2004

"Phil Tomson" wrote:

> I tried building Ruby from source on Windows using MSVC++ today. I
> notice that a dll gets built: msvcrt-ruby18.dll
>
> I've got a couple of questions about this:
> 1) how does this dll differ from the standard msvcrt.dll that comes
> with Windows?
> 2) can't I just statically link so there is no dependence on this dll?
>
> I'm planning to embed Ruby into a C program. I want to build one
> standalone executable; I'd rather not have to ship a dll file as well.
>


1) Not related. msvcrt-ruby18.dll is the ruby runtime when linking with
msvcrt-ruby18.lib.

2) Yes. In your build directory you should have msvcrt-ruby18-static.lib
to link with.


daz

- Watch out for factual inaccuracies in this reply



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57