www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/23/06:45:21

From: darwin AT nwinfo DOT net (David Melik)
Newsgroups: comp.os.msdos.djgpp
Subject: continual setup problems...
Date: Thu, 23 Apr 1998 10:43:48 GMT
Organization: Alternate Access Inc.
Lines: 50
Message-ID: <353f1736.121439@news.nwinfo.net>
NNTP-Posting-Host: 204.157.220.251
Cache-Post-Path: slave2.aa.net!unknown AT nwd137 DOT nwinfo DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've been attempting to set up DJGPP and RHIDE and have had various
problems.  A few months ago I tried downloading it all seperately, and
one text file said that for the installation to work it "assumes a
Unix-like SED program", and I could not find a dos version.  My hard
drive was barely big enough for the compiler and some mod
files/software anyway, so I decided to first make a computer worth
coding on.  A while ago I put it together and this time tried using
the zip-picker at delorie.com, and got files for C, C++, ASM, they
were about version 2.7.2.  When I tried compiling something it
couldn't find iostream.h (strange, I had the paths set up correctly,
and iostream was in one of the directories).  I noticed the binutils
zip file was messed up and downloaded it again, and stuff was updated
to version 2.8, so I got the compilers and libraries again.  When I
unzipped these, it couldn't create the file g++.exe (that's a bad dos
filename).  I hope gpp.exe is the same thing.  Then when I tried
compiling it couldn't find cc1plus.exe. 

I think the FAQs and zip-picker page both said to just pkunzip -d
everything in the same directory, modify autoexec.bat, and that RHIDE
needs little or no setup (I also tried paths for includes and
libraries in RHIDE, although it seems like DJGPP.ENV might take care
of all that.), but this did not work.  Does the FAQ tell the whole
truth?

I found cc1plus buried in a strange long directory structure,
lib/gcc-lib/djgpp/2.80/ or something like that.  Since it's a binary
and the bin directory is in the path, I thought perhaps it was
supposed to be copied there, and tried that today.  Then it found
cc1plus, but there were still problems with the library files (it said
stuff like this for several lines (# represents a hex #):

Error:c:/code/djgpp/lib/libstdcx.a(iostream.o)(.text+0x####):a file
ending in .cc: undefined reference to various things like
'__rtti_stuff'  

It still compiled this program, and a more complicated one I was
working on, but both crashed.:

#include <iostream.h>
void main()
{
    cout<<"Hello World!";
}

What does it take to set DJGPP up?

David Melik
(remove the obvious phrase from my email address to reply)
darwin DOT do DOT not DOT send DOT me DOT any DOT sp AT m DOT because DOT it DOT sucks DOT nwinfo DOT net

- Raw text -


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