www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/27/12:15:33

Date: Thu, 27 Feb 1997 19:00:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Zibarev Denis <den AT re DOT tsu DOT tomsk DOT su>
cc: djgpp AT delorie DOT com
Subject: Re: LD hangs!!!!
In-Reply-To: <199702271308.NAA13043@re.tsu.tomsk.su>
Message-ID: <Pine.SUN.3.91.970227185942.2124M-100000@is>
MIME-Version: 1.0

On Thu, 27 Feb 1997, Zibarev Denis wrote:

>    Why LD.EXE hangs when linking a small program with a probability
>    approx. 10%? Usually it is not very painfully (I'm a proud user
>    of IBM OS/2 Warp V3.0), but sometime, when I working in DOS, ... :(
>    My system is: (i486DX2/66 GenuineIntel, VLB, 16Mb RAM, Cirrus Logic
>    CL-GD5428 with 1Mb VRAM, Micropolis 4110-Nov_18FTN0F hard drive (1Gb,
>    Fast SCSI-2) with BusLogic BusMaster SCSI host adapter BT-545S).
>    Running DOS 6.22, OS/2 Warp, microbug windows95.

Since ld causes heavy disk I/O, and you use a bus-mastering SCSI
controller, I'd suggest checking whether the disk is the problem.
First possibility (always is with SCSI drives): be sure you put a
terminator plug on the free port of last device in the SCSI chain.  If
that doesn't help, and if you have other SCSI devices, disconnect all
but the disk and try again.  If that doesn't help either, maybe the
bus-mastering controller somehow conflicts with the memory manager
that you use when working with DJGPP (it is not clear to me from your
configuration info which configuration do you use for DJGPP).  If you
run DJGPP in v86 mode, a bus-mastering controller might cause problems
because of the memory-mapping mechanism (too complicated to explain
here), so try booting into a vanilla DOS configuration (i.e., no
HIMEM, no EMM386, no LOADHIGH, no OS/2 DOS box--just plain old
real-mode DOS, and see if the problems go away.

> Usually I'm linking 2-3 *.o files and [+] -lpc
> (libpc.a).

Why do you need -lpc at all?  DJGPP v2 has all those functions inside
libc.a, and libpc.a is just an empty library.

> PPS: How about to use FTP server re.tsu.tomsk.su for a distribution of
> programs written in djgpp/something else?

SimTel is a well-established network of sites which are automatically
updated, so when DJ Delorie uploads a new package, he only puts it on
a single place, and the SimTel distribution does the rest.  You might
consider contacting SimTel administrators and negotiating with them to
add your server to their network.

- Raw text -


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