delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/12/16:34:17

Message-Id: <m10WnOp-000S8SC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: "Laurynas Biveinis" <lauras AT softhome DOT net>,
"DJGPP Workers" <djgpp-workers AT delorie DOT com>
Date: Mon, 12 Apr 1999 17:38:07 +0000
MIME-Version: 1.0
Subject: Re: LBInstDJ
In-reply-to: <002701be8520$af7ff980$bb003bd4@default>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

"Laurynas Biveinis" <lauras AT softhome DOT net> wrote:

> >Also: if you have some time to invest on the installer I can help you to do
> a
> >Tvision class to show the old and the new autoexec.bat file so the user can
> >compare between both and modify or discard the file created by the installer.
> >I think that's the best.
> 
> IIRC, (I used TV with TurboPas for a while), this would involve creating two
> editor windows, some minor updates and... and... that's all? 

More or less, you must put both in the same window and cross commands to 
scroll both at the same time (to compare the text).

> But time is an
> issue for me. Last week I had holiday, but now back to learning and I can't
> spare too much time now.

DJGPP is 10 years old. I talk about time during the next months, not this 
week or the next ;-)
 
> BTW, for TVision I must switch to C++. And experience taught me that it
> is better not even approach to C++ if you don't know how to make
> OO-design. And here comes my lack of experience, because I am
> self-taught.

:-)), I think that the harder part is knowing about Turbo Vision, C++ is 
easy.
 
> >> >> BTW, about user's interface: how about porting it to turbo vision?
> >> >
> >> >Is possible but (and I'm the maintainer of this port) I think is too
> huge for
> >> >an installer.
> >>
> >> I looked to Free Pascal Compiler's installer. It is 70-80KBytes and is
> done
> >> with Turbo Vision. My last LBInstDJ.exe build is 59KBytes (not that sfx,
> but
> >> the main prog)
> >
> >Let me see ... a small Turbo Vision example compiled with djgpp is 110Kb
> >compressed (UPX) and 225Kb uncompressed. The application is 6140 bytes
> long,
> >73Kb are from TVision, 42Kb from libstdcxx, 7Kb from libintl.a (can be
> >dropped, but I guess that's a good thing: internationalization), 10Kb from
> >libgcc and 70Kb from libc (the rest is data or other stuff).
> 
> Is this possible to get rid of debug info (TV library is compiled
> with -gstabs by default, correct?), 

I include a script (sacadeb.bat) to cut the debug info. That's in the readme 
;-)
My numbers are *without* debug information, otherwise it climbs to about 
1.2Mb ;-))).

> strip some unused TVision code, (e.g. for installer TMenuBar
> would not be neccesarry, 

Almost impossible, to cut all, the TApplication/TProgram classes does 
explicit calls to TMenu members and hence you'll get it linked.

> TApplication too, 

That's impossible, no TVision application ca really work without it. You 
could write some replacement for TProgram and work with it, but: did you see 
my numbers? you'll gain 10 or 20 Kb in a 220Kb program.

> would use TProgram instead...). ?

Nope, the menubar is a memeber of TProgram you need to go even deeper and 
create a new thing from TView. I think it isn't a really good idea.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(5411) 4759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019