www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/03/10/12:20:59

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: djgpp and LARGE structures
Date: Tue, 10 Mar 92 11:44:01 -0500
From: "Victor S. Miller" <victor AT watson DOT ibm DOT com>
Status: O

I have a program which generates a C initialiaztion for a LARGE
structure (about 250K bytes).  I want to include this large
initialized table inside my code.  When I try to compile this with
djgpp's gcc after a long period, it suddenly complains about general
failure on a few of my hard drives (I actually only have two, but
since I had them from the days of DOS 3 they are partitioned into a
lot of 32M partitions).  I have a suspicion that there is some bad
interaction between go32 and other stuff I have in DOS.  I really
don't know anything about the internals of DOS extenders, but it
occurs to me that go32 may be having trouble living with a disk cache
and virtual disk, both of which get there storage from extended
memory.  How can I track this down?

In addition, does anyone have any suggestions about this large
inialized structure?  Right now, I just generate C declarations, but,
if I new exactly what the .o file should look like, I could just as
easily generate it directly.

- Raw text -


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