no runtime library with turbo C

Discussion in 'C Programming' started by doodoosy, Sep 4, 2005.

  1. doodoosy

    doodoosy Guest

    Hi,

    I'd like to know how to write a program witch don't use the runtime
    library so it will be smaller...

    I use turbo C 3 and I also have TASM
     
    doodoosy, Sep 4, 2005
    #1
    1. Advertising

  2. doodoosy

    Hari Guest

    On Sun, 04 Sep 2005 09:26:22 -0700, doodoosy wrote:

    > Hi,
    >
    > I'd like to know how to write a program witch don't use the runtime
    > library so it will be smaller...


    Runtime libraries are used to reduce the size of the final executable. So
    all the applications on the system share same library.

    > I use turbo C 3 and I also have TASM



    --
    Hari
     
    Hari, Sep 4, 2005
    #2
    1. Advertising

  3. doodoosy wrote on 04/09/05 :
    > Hi,
    >
    > I'd like to know how to write a program witch don't use the runtime
    > library so it will be smaller...
    >
    > I use turbo C 3 and I also have TASM


    This is not a C-question.

    <OT>
    Options/Linker/Libraries
    Standard Run-time Library
    Select 'None'

    Kinda obvious, isn't ?
    </OT>

    --
    Emmanuel
    The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
    The C-library: http://www.dinkumware.com/refxc.html

    "Clearly your code does not meet the original spec."
    "You are sentenced to 30 lashes with a wet noodle."
    -- Jerry Coffin in a.l.c.c++
     
    Emmanuel Delahaye, Sep 4, 2005
    #3
  4. Hari wrote on 04/09/05 :
    > Runtime libraries are used to reduce the size of the final executable. So
    > all the applications on the system share same library.


    What do you mean ? It depends on the linker. Some allow static RTL,
    others dynamic...

    --
    Emmanuel
    The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
    The C-library: http://www.dinkumware.com/refxc.html

    "Clearly your code does not meet the original spec."
    "You are sentenced to 30 lashes with a wet noodle."
    -- Jerry Coffin in a.l.c.c++
     
    Emmanuel Delahaye, Sep 4, 2005
    #4
  5. doodoosy

    doodoosy Guest

    >Runtime libraries are used to reduce the size of the final executable. So
    >all the applications on the system share same library.


    I'm talking about a static runtime library (remember, Turbo C is under
    DOS)
     
    doodoosy, Sep 4, 2005
    #5
  6. "doodoosy" <> wrote in message
    news:...
    > I'd like to know how to write a program witch don't use the runtime
    > library so it will be smaller...
    >
    > I use turbo C 3 and I also have TASM


    Wrong group. Try news:alt.os.development instead. And don't forget to
    checkout this: http://alexfru.narod.ru/os/c16/c16.html as it may be exactly
    what you're looking for.

    HTH,
    Alex
     
    Alexei A. Frounze, Sep 4, 2005
    #6
    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. Kwaj

    VHDL code for Turbo Codes

    Kwaj, Jan 16, 2005, in forum: VHDL
    Replies:
    2
    Views:
    1,096
    solomen
    Feb 5, 2005
  2. Replies:
    0
    Views:
    1,691
  3. Developwebsites

    Turbo C++?

    Developwebsites, Sep 9, 2003, in forum: C++
    Replies:
    6
    Views:
    1,069
    llewelly
    Sep 9, 2003
  4. Hal Vaughan
    Replies:
    11
    Views:
    1,155
    Gordon Beaton
    May 22, 2006
  5. Replies:
    7
    Views:
    1,067
    Mark McIntyre
    May 31, 2005
Loading...

Share This Page