www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/05/07:20:16

From: Sengan DOT Short AT durham DOT ac DOT uk
Message-Id: <27151.9604051203@ws-rg.dur.ac.uk>
Subject: Re: Slow linking
To: djgpp AT delorie DOT com
Date: Fri, 5 Apr 1996 13:03:29 +0100 (BST)
Mime-Version: 1.0

INFO: (there's also a question further down the page)
 
> On Wed, 3 Apr 1996, Rafael R. Sevilla wrote:
> 
> > I've been playing around with djgpp for some time now, and it links very
> > slowly. Its compilation seems to be fine. I wrote a brief program that
> 
> Try to stubedit ld.exe to enlarge its transfer buffer to 64K.  If that 
> helps, please tell more about your DJGPP installation.  When DJGPP is 
> installed on a networked drive, the above trick was reported to make a 
> LARGE difference.  Did you put DJGPP on a networked drive?


I used this trick too and it does make a large difference on my system accessing
the harddisk (through SMARTDRIVE and DBLSPACE).

I have a 486SLC 4Megs Notebook (25Mhz, no FPU processor) and 80Mb Harddisk.
I use smartdrive (1Meg), DBLSPACE, have not made my CONFIG.SYS and AUTOEXEC.BAT
as small as possible (eg HIMEM is installed), so I have not followed the advice
in the FAQ, simply because I use my computer for lots of things that require
all this junk, and I don't know of an easy way of choosing configurations on
bootup.

It might also be relevant that I used to use gcc realmode in v1 because the
protected mode gcc were 2 orders of magnitude slower.

--------------------------------------------------------------------------------

QUESTION:

I also have a question: CC is an executable of more that 1Mb, how is it possible
for DOS to load it given that DOS can only access 640Kb of conventional memory.

Ta,

Sengan

--------------------------------------------------------------------------------
APPENDIX, my system's configuration

Memory Type        Total  =   Used  +   Free
----------------  -------   -------   -------
Conventional         639K      117K      522K
Upper                  0K        0K        0K
Reserved             129K      129K        0K
Extended (XMS)     3 328K    1 088K    2 240K
----------------  -------   -------   -------
Total memory       4 096K    1 334K    2 762K

Total under 1 MB     639K      117K      522K

Largest executable program size       522K (534 928 bytes)  
Largest free upper memory block         0K       (0 bytes)  
MS-DOS is resident in the high memory area.


go32/v2 version 2.0 built Jan 23 1996 22:03:02
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your PATH.
DPMI memory available: 2072 Kb
DPMI swap space available: 42120 Kb



- Raw text -


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