delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/25/00:04:38

Date: Mon, 24 Nov 1997 21:02:02 -0800 (PST)
Message-Id: <199711250502.VAA01500@adit.ap.net>
Mime-Version: 1.0
To: Greg Moorer <gam3 AT Ra DOT MsState DOT Edu>, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: biosmemory() problem
Cc: djgpp AT delorie DOT com

At 02:17  11/24/1997 -0600, Greg Moorer wrote:
>> > whenever I try to compile code with the biosmemory() function, djgpp
>> > simply locks up...no error messages or anything.  Has anyone else run
>> > into this problem?
>> 
>> Does this happen when you *compile* the code which call `biosmemory',
>> or when you *run* that code?
>> 
>> Could you post a short program that exhibits this behavior?
>>
>
>the systems halts upon trying to compile the following:
[snipped]
I cannot reproduce this. The program compiles and runs for me without
problem using `-O', `-O2', `-O3', or no optimization, with DPMI servers
CWSDPMI r3 and Windows 3.1. It doesn't take an inordinate amount of time
either (about 2 seconds on a P133/16MB).
I suspect this is a configuration problem of some sort. Please post all the
items requested in FAQ section 6.12, including what command line options you
gave to GCC. Also consider the following possibilities:
* Are your header files or libraries garbled? This shouldn't cause a
problem, but maybe check anyway.
* Is there another program called `cpp', `cc1', `as' or `ld' in your path
ahead of \DJDIR\bin?
* Viruses, hardware failures, ...?

(Btw, on my system it reports "640K". Is this just my BIOS (AMIBIOS dated
8/14/96) being stupid?)



Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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