🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
4 messages
4 total messages Started by Mac Su-Cheong (MSC) Mon, 11 Jan 1993 08:58
Turbo Vision is too fat!
#7580
Author: Mac Su-Cheong (MSC)
Date: Mon, 11 Jan 1993 08:58
19 lines
1619 bytes
Hello,

  Recently I take a look at Turbo Vision inside Borland C++ 3.1 with
Apllication Framework. Then I build the .exe of the program hello.cpp
WOW, the .exe file size is 200K+ ! The program is so simple and it is
unacceptable big for me. I have tried most of the settings in Option
but in vain, and inside the manual not much is deal with this (the 
whole user guide of TV just talk about TV programming). Is it possible
to slim the TV executable file? I want to write some program and 
distribute them to the public and I am now looking for other shareware
or freeware window and menu libraries for C on msdos.

  Thanks in advance.

------------------------------------------------------------------------------
Mac Su-Cheong (MSC)       | Computer Science Division, |          __o
msc@eembox.ncku.edu.tw    | Department of E.E.,        |         -\<,
nckus089@twnmoe10.bitnet  | National Cheng Kung Univ., |        O/ O
msc@snoopy.ncku.edu.tw    | Tainan, Taiwan, R.O.C.     | Hey....I am the wind!
Re: Turbo Vision is too fat!
#7581
Author: The OTHER One True God
Date: Mon, 11 Jan 1993 10:01
29 lines
2024 bytes
In article <1993Jan11.085826.27274@dec8.ncku.edu.tw>, msc@snoopy.ncku.edu.tw (Mac Su-Cheong (MSC)) writes...
>  Recently I take a look at Turbo Vision inside Borland C++ 3.1 with
>Apllication Framework. Then I build the .exe of the program hello.cpp
>WOW, the .exe file size is 200K+ ! The program is so simple and it is
>unacceptable big for me. I have tried most of the settings in Option
>but in vain, and inside the manual not much is deal with this (the 
>whole user guide of TV just talk about TV programming). Is it possible
>to slim the TV executable file? I want to write some program and 
>distribute them to the public and I am now looking for other shareware
>or freeware window and menu libraries for C on msdos.

   Remember that when using any large programming development system that 
there will be an initial jump in code size, and as you progress, it will go 
down as the %age of your code.
  For instance, the 200K "Hello, world" program is excessive, but if you 
were to build in a complete accounting system, or something, the total code 
size would be ~300K (or so). You'll find that most windowing libs will have 
the same initial jump in code. The amount of code size jump will depend on 
the complexity of the lib. TV is a very complex, complete library.

   Tim Sullivan
   tsullivan@trentu.ca
   cstes@blaze.trentu.ca

Disclaim THIS, buddy!
---
I looked over Jordan, what did I see?
Saw a US Marine in a pile of debris.
          - Roger Waters, Amused to Death
Re: Turbo Vision is too fat!
#7590
Author: Harry Miller
Date: Mon, 11 Jan 1993 18:25
30 lines
1988 bytes
msc@snoopy.ncku.edu.tw (Mac Su-Cheong (MSC)) writes:

>Hello,

>  Recently I take a look at Turbo Vision inside Borland C++ 3.1 with
>Apllication Framework. Then I build the .exe of the program hello.cpp
>WOW, the .exe file size is 200K+ ! The program is so simple and it is
>unacceptable big for me. I have tried most of the settings in Option
>but in vain, and inside the manual not much is deal with this (the 
>whole user guide of TV just talk about TV programming). Is it possible
>to slim the TV executable file? I want to write some program and 
>distribute them to the public and I am now looking for other shareware
>or freeware window and menu libraries for C on msdos.

>  Thanks in advance.

Is the debug option set.  The TV library is compiled without debugging,
but when you have debugging set, all classes (there are quite a few), data
and your code is given debug info.  Considering thatg TV is a fairly 
extensive (though by no means exhaustive) Text GUI library, that is a
lot of debug info.

The project I'm working on has an executable size of just under 640K,
with debug info included.  But only ~200K without debug info.  This
causes a slight annoyance. If I want to do debugging I need to
put debug info in only the areas I'm interested in. I can not use
the debug menu option, since that applies to all files.

Harry E. Miller ----------------- just a jerk lurking on the net
hmiller@osiris.cso.uiuc.edu ----- where to send the hate mail
Re: Turbo Vision is too fat!
#7612
Author: Mac Su-Cheong (MSC)
Date: Tue, 12 Jan 1993 14:53
18 lines
1594 bytes
Hello,

  Thank you very much for all your advices. For the same "Hello, world"
program, I am now able to slim it down from 200K+ to 110K+. I select
"Smallest code" in 'code generation' option and disable all the debug
information. However, 110K is still a bit too big for me, and what I
need is only a small subset of the functions provided by TV. So, I give
up TV and get several shareware and public domain 'window and menu'
libraries from SIMTEL20. The executable file size seems ok (the demo
inside are small), need more testing.

  Thanks again for all your help.

------------------------------------------------------------------------------
Mac Su-Cheong (MSC)       | Computer Science Division, |          __o
msc@eembox.ncku.edu.tw    | Department of E.E.,        |         -\<,
nckus089@twnmoe10.bitnet  | National Cheng Kung Univ., |        O/ O
msc@snoopy.ncku.edu.tw    | Tainan, Taiwan, R.O.C.     | Hey....I am the wind!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads