delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/01/20:41:51

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ files
Date: 1 May 1997 23:46:01 GMT
Organization: Oxford University, England
Lines: 27
Message-ID: <5kb9vp$lv6@news.ox.ac.uk>
References: <5kb5np$a19$1 AT newserve DOT gulftel DOT com>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

RobertL.Mackey wrote:
: Hi. I downloaded the C++ files for djgpp, djdevNNN.zip and bnu2721b.zip 
: (maybe not the exact names) and unzipped the files with the -d option. 
: I cannot find the C++ include files like iostream.h anywhere. I think I 
: saw somewhere I need to make some files. How do I do this? Thanks. I 
: would appreciate it if you did not tell me to check the FAQ or readme
: file. Believe me, I have. Thanks in advance for all the help I will get. 

If you downloaded the C++ files, you should also have gpp2721b.zip and
lgp271b.zip. One of these (lgp I think) contains the include files; they
are in a directory $(DJDIR)/lang/cxx/include/ IIRC. The compiler should
know where to look for them, if you name your programs .cc, .cpp or .C.

If the compiler isn't finding the files, try compiling a simple program
#including a standard C header, say stdio.h, and if it fails you have an
environment problem.

In any case, posting the result of:

redir -o output.txt -eo gcc -v <filename>

(where <filename> is the name of your program) would help people
troubleshoot the problem better.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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