delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/12/19:02:25

From: abharmal AT altavista DOT net (Ali Bharmal)
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE : Linking requires additional setup?
Date: Thu, 12 Feb 1998 23:56:11 GMT
Organization: Selwyn College, The University of Cambridge
Lines: 28
Message-ID: <6c0276$j14$1@lyra.csx.cam.ac.uk>
NNTP-Posting-Host: quango.sel.cam.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I got DJGPP & RHIDE installed, but came up with a problem in RHIDE. I try to 
compile a program, see below, [in RHIDE] and it was happy. Linking caused 
errors to crop up. I fixed this by specifying an additional library to be 
linked in (namely the 'gpp' one). It was also happy using gxx at the dos 
prompt.

My question is that shouldn't RHIDE be configured to link in gpp, or isn't it 
a standard library? If it should, have a subtle configuration error. If not, 
then what are the docs I've missed which tell me the "standard" libraries 
etc..

program:

#include <iostream.h>
#include <strclass.h>

int main(void) { 
 string message = "Hello world!!!";
 cout << message << "\n";
 return(0);
}

--
 _ |. |_ |_  _  _  _ _  _ | Selwyn College, Cambridge CB3 9DQ
(_||| |_)| |(_|| `| | |(_|| http://quango.sel.cam.ac.uk/

"A doorknob wants nothing, even though it is a complex machine." - Death


- Raw text -


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