cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/28/18:34:57

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compiling
Date: Thu, 28 May 1998 18:24:55 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 41
Message-ID: <356DE437.3055@cs.com>
References: <1998052819590000 DOT PAA15296 AT ladder03 DOT news DOT aol DOT com>
NNTP-Posting-Host: ppp134.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

IPityTheFo wrote:
> 
> When I type :
>    gcc file.c -o file.exe
> The gcc program freezes up and I have to click the X in the corner.
> What is going on?  Am I missing a file?

When you say "freezes up," do you mean that absolutely nothing happens
at all?  Does the hard drive seem to be running a lot during
compilation?  Can you break out of it with Ctrl-C or Ctrl-Break, or does
it require that you close the window manually?

Please try typing "gcc -v file.c -o file.exe" and see if that locks up
as well.  If it displays any messages, you can capture them with the
command line "redir -o gcc.log -eo gcc -v file.c -o file.exe"; the file
'gcc.log' will contain the messages which you should post on this
newsgroup.  It would also help to know what type of computer you have
(brand, model, CPU, speed) and how much RAM.  Also please try typing
"go32-v2" at your DOS prompt and report what it says.

If go32-v2 indicates that you have low amounts of memory available (less
than 16 MB total physical + virtual), you may want to try increasing the
DPMI memory available to DOS programs by editing the MS-DOS Prompt
properties sheet.  In the Memory tab, increase DPMI Memory to 65535 KB
by typing in the value manually.

If none of this seems to help, please read chapter 6 of the DJGPP
Frequently Asked Questions list and post a complete system report as
described in chapter 6.12.  I have written a utility called DJVERIFY
which can assist you in this task as well as in performing diagnostics;
if you're interested in trying it visit my web page (URL below).

Good luck!

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | History has the relation to truth    |
|       aka Fighteer I       | that theology has to religion--i.e., |
|   mailto:fighteer AT cs DOT com   | none to speak of.                    |
| http://www.cs.com/fighteer |                    -Lazarus Long     |
---------------------------------------------------------------------

- Raw text -


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