delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/28/18:40:27

Xref: news2.mv.net comp.os.msdos.djgpp:617
From: Peter Cooper <Peter AT trenham DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: What the??
Date: Sun, 28 Jan 96 21:18:13 GMT
Organization: Peco Software
Lines: 40
Message-ID: <822863893snz@trenham.demon.co.uk>
Reply-To: Peter AT trenham DOT demon DOT co DOT uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Oh what the heck I'll ask my question..

I downloaded all the stuff for DJGPP and unzipped them and they created
their own directories like /BIN /LANG etc.. so I decided to write a program.
so...

#include "iostream.h"
void main(void) {
        cout << "hi!\n";
}

and went                   gcc file.cc
The error came back:       IOSTREAM.H Cannot find filename or directory
so the program changed to:

#include "c:\djgpp\lang\cxx\iostream.h"
void main(void) {
        cout << "hi!\n";
}

and then after that this error came up..
                           SOMETHINGELSE.H Cannont find filename or directory

I went into IOSTREAM.H and changed the #include <whatever.h> to
#include "c:\djgpp\lang\cxx\whatever.h" 

but still I get the same error... There must be some way to set directories
for DJGPP. I tried changing the path for all DJGPP directories but no it 
doesn't work.... 8-(

Can anyone tell me what DJGPP is doing?

Cheers, 8-)




-- 
Peter Cooper

- Raw text -


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