msvcrt-ruby18.dll ?

Discussion in 'Ruby' started by Phil Tomson, Feb 3, 2004.

  1. Phil Tomson

    Phil Tomson Guest

    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
     
    Phil Tomson, Feb 3, 2004
    #1
    1. Advertising

  2. Phil Tomson

    daz Guest

    "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 ;)
     
    daz, Feb 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,025
  2. Ron Adam

    IDLE and msvcrt getch()

    Ron Adam, Oct 26, 2003, in forum: Python
    Replies:
    0
    Views:
    663
    Ron Adam
    Oct 26, 2003
  3. rogerdpack

    question on msvcrt.dll versioning

    rogerdpack, Mar 12, 2009, in forum: Python
    Replies:
    2
    Views:
    435
    rogerdpack
    Mar 14, 2009
  4. ruby18 vs. ruby

    , Mar 25, 2007, in forum: Ruby
    Replies:
    5
    Views:
    91
    John Joyce
    Mar 25, 2007
  5. John Smth
    Replies:
    15
    Views:
    257
    John Smth
    Dec 21, 2010
Loading...

Share This Page