ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/11/22:15:19

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: invalid AT erehwon DOT invalid (Neo_1061)
Newsgroups: comp.os.msdos.djgpp
Subject: Strange behavior of ld
Organization: Geeks Anonymous
Message-ID: <3cb63d42.852363989@news.primus.ca>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 41
Date: Fri, 12 Apr 2002 02:01:18 GMT
X-Complaints-To: news AT primus DOT ca
X-Trace: news.tor.primus.ca 1018576878 (Thu, 11 Apr 2002 22:01:18 EDT)
NNTP-Posting-Date: Thu, 11 Apr 2002 22:01:18 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

D:\quickm> gcc colorbtm.o -o colorbtm.exe -lalleg
: disk full

D:\quickm> dir
         6 dir(s)      28,864,760 bytes free

So I clean up some stuff, get it to about 110 megs free, and relink.

D:\quickm> gcc colorbtm.o -o colorbtm.exe -lalleg

D:\quickm> dir *.exe
COLORBTM EXE       920,699  11/04/02  21:48 colorbtm.exe
        13 file(s)     11,512,000 bytes
         0 dir(s)     111,861,760 bytes free

The linker, in other words, died with "disk full" when it needed to
generate a <1 meg file on a disk with almost 30 megs free.

The (Windows -- this is all happening in a DOS box, so the Windoze
DPMI host is being used, and the Windoze swap file) swap file is
permament, 256 megabytes, and on the C: partition, and there are 128
megabytes of RAM, of which probably about half is in use for other

D:\quickm>ld --version
GNU ld 2.8.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
the GNU General Public License.  This program has absolutely no
  Supported emulations:

Anyone have any clue why the linker choked? Could it have been
Still waters run deep.

- Raw text -

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