delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/15:44:11

Date: 29 Jan 98 11:16:25 -0600
From: Brian Ellis <brian_ellis AT mail DOT mtwp DOT k12 DOT pa DOT us>
Subject: More Info: Help with C++ compiler hanging
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
MIME-Version: 1.0
Reply-To: Brian Ellis <brian_ellis AT mail DOT mtwp DOT k12 DOT pa DOT us>
Message-ID: <1326049675-286494872@mail.mtwp.k12.pa.us>

Eli, George, and others
In response to your two questions asking to clarify:

What I mean by hanging is it runs through it's process but seems to stop at cc1plus.  At the top of my DOS window it says what file it is running, it goes through a number of files but gets stuck at cc1plus.  It never gives me another prompt.  I have to kill the window and start again.

I downloaded everything in section 4.5 of the FAQ entitled What Files to Download? The ** files are the ones that I understand to be the important ones.
        readme.1st             **gpp2721b.zip          bsn124b.zip
        faq210b.zip            **lgp271b.zip           dif271b.zip
        csdpmi3b.zip          **obc2721b.zip        emacs.README
        pmode11b.zip        gdb416b.zip             em1934*.zip (l1,l2,l3,r1,r2,r3)
        **bnu27b.zip          mak375b.zip           fil313b.zip
        **djdev201.zip       rhide10b.zip             flx252b.zip
        **gcc2721b.zip     djlsr201.zip               grep20b.zip
        **txi390b.zip          bsh1147b.zip           pat21b.zip
        sed118b.zip          shl112b.zip               txt119b.zip
        grx20b.zip             bcc2grx.zip               pdc22.zip

When I run:    go32-v2.exe
C:\>go32-v2.exe
go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 9635 Kb
DPMI swap space available: 3753 Kb

When I run:    gcc -v hello2.cc
C:\DJGPP\files>gcc -v hello2.cc
Reading specs from c:/djgpp/lib\specs
gcc version 2.7.2.1
 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplu
s -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__
unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__u
nix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 hello2.cc c:/djgpp
/tmp\ccqaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/contrib/grx20/include
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1plus.exe c:/djgpp/tmp\ccqaaaaa -quiet -dumpbase hello2.cc -vers
ion -o c:/djgpp/tmp\ccraaaaa

Meanwhile in my window title box it says "MS-DOS Prompt - cc1plus" and it won't give me another prompt.

Thank You,
Brian Ellis

- Raw text -


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