delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/20/12:06:13

Message-Id: <1.5.4.32.19961020153353.0068d8ac@mv.mv.com>
Mime-Version: 1.0
Date: Sun, 20 Oct 1996 11:33:53 -0400
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Howard Kaikow <kaikow AT standards DOT com>
Subject: Re: HK: v 2.1
Cc: Howard Kaikow <kaikow AT standards DOT com>, djgpp AT delorie DOT com

At 04:58 PM 10/20/96 +0200, Eli Zaretskii wrote:
>
>> gcc -DMSDOS -DPAPER=\"a4\" -O3 epsffit.c pserror.c -o epsffit
>
>What happens if you use -O2 instead of -O3 ?

I don't know. I do not even remember why -O3 was used.
I'll look into that, ..., OK< I looked into that. Here are the sizes with -O2

PSBOOK   EXE        96,897  10-20-96 11:21a psbook.exe
PSSELECT EXE        98,204  10-20-96 11:22a psselect.exe
PSTOPS   EXE       106,933  10-20-96 11:22a pstops.exe
PSNUP    EXE       108,399  10-20-96 11:22a psnup.exe
PSRESIZE EXE       106,035  10-20-96 11:22a psresize.exe
EPSFFIT  EXE       101,321  10-20-96 11:21a epsffit.exe
         6 file(s)        617,789 bytes

Not much different than when using -O3 and still a lot more than V2.0

However, I did notice one more thing. Before I changed te option to -O2 from
-O3 I did a

rename *.exe *.exe0

However, the .exe0 got overwritten by the new .exe files. So I guess that
the loader (or something) does not honor LFN = y.

>EPSFFIT  EXE       101,303  10-20-96  8:37a epsffit.exe
>PSBOOK   EXE        98,119  10-20-96  8:37a psbook.exe
>PSSELECT EXE       100,017  10-20-96  8:37a psselect.exe
>PSTOPS   EXE       109,233  10-20-96  8:37a pstops.exe
>PSNUP    EXE       109,693  10-20-96  8:37a psnup.exe
>PSRESIZE EXE       107,311  10-20-96  8:38a psresize.exe
>         6 file(s)        625,676 bytes
>EPSFFIT  EXE        72,255  02-23-96 12:02p epsffit.exe
>PSBOOK   EXE        70,951  02-23-96 12:02p psbook.exe
>PSSELECT EXE        72,003  02-23-96 12:03p psselect.exe
>PSTOPS   EXE        79,041  02-23-96 12:03p pstops.exe
>PSNUP    EXE        78,961  02-23-96 12:03p psnup.exe
>PSRESIZE EXE        77,425  02-23-96 12:03p psresize.exe
>         6 file(s)        450,636 bytes

>What is `slookup'?  Where should it be defined?  There is no such 
>function in libc.a, neither in v2.0 nor in v2.01.

That's because I blew it! I should not do such things when I am "awake" all
night. I forgot to include slookup.c in the compile line. It works now, but
as for the other cases I cited, the .exe is about 30000 bytes bigger than
the previous compile.

- Raw text -


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