delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/09/23:42:12

From: mjetton2 AT aol DOT com (MJetton2)
Newsgroups: comp.os.msdos.djgpp
Subject: Help on GCC C++ Compiler
Date: 9 Mar 1997 19:32:33 GMT
Organization: AOL http://www.aol.com
Lines: 44
Message-ID: <19970309193200.OAA02994@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can anyone out there give me some help on GNU C++? I'm a C++ novice trying
to compile and GPP won't find a header file, which I know is in one of the
subdirectories.

I followed the instructions at
     ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st
to the letter and tinkered to no avail.

One concern I have is downloading all the files via AOL produces a
many-nodes directory structure, in part, as follows:
 2-BNU27B  3-BIN  3-INFO  3-MANIFEST
 2-DJDEV201  3-BIN  3-INCLUDE  3-LIB  3-DJGPP.ENV
 2-GCC2721B  3-BIN  3-INFO  3-MANIFEST
 2-GPP2721B  3-BIN  3-MANIFEST
 2-LGP271B  3-BIN  3-INFO  3-LIB  3-MANIFEST
where the numbers indicate the level under the main directory DJGPP (level
1). 

The header file that the compiler can't find is in:
   2-LGP2714B 3-LANG 4-CXX

Delorie's README file says to leave the directory structure intact. It
also says to put the following two lines into the autoexec.bat file (which
I did and re-booted):

	set DJGPP=C:\DJGPP\DJGPP.ENV
	set PATH=C:\DJGPP\BIN;%PATH%

Note that DJGPP.ENV per the above structure is not in DJGPP per se, but
one of its sub-directories. There is also no BIN in DJGPP, but there is
more than one BIN in its sub-directories.

My concern is compounded when I look inside DJDEV.ENV. It doesn't
acknowledge the existence of these level 2 directories. I'm tempted to
collapse level 2, but am not that desperate yet.

Should the 1st of the above autoexec.bat statements contain instead
C:\DJGPP\DVDEV201\DJGPP.ENV? Which BIN is the 2nd of the above
autoexec.bat statements looking for?

Merlin Jetton
mjetton2 AT aol DOT com


- Raw text -


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