delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:2702 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!in1.uu.net!tcsi.tcs.com!agate!news.ucdavis.edu!wheel!elric |
From: | elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Need help with configuring DJGPP for C++ |
Date: | 16 Oct 1995 16:18:15 GMT |
Organization: | Davis Community Network - Davis, California, USA |
Lines: | 23 |
References: | <DGCL3o DOT J5r AT jade DOT mv DOT net> <45nm07$n6m AT status DOT gen DOT nz> <45qb01$dn7 AT mark DOT ucdavis DOT edu> |
Nntp-Posting-Host: | wheel.dcn.davis.ca.us |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
add -liostr to your link command line. This library contains the I/O streams library. Patrick Hayes (phhayes AT rocky DOT ucdavis DOT edu) wrote: : sarge AT iconz DOT co DOT nz (Edward Sargisson) wrote: : >alexc AT pop DOT winterlan DOT com (Alex Chun) wrote: : > : >>I've installed DJGPP and I can compile C programs, but when I try to compile : >>C++ programs I get the following errors: : >>test.cc(.text+0x14): undefined reference to `cout' : >>test.cc(.text+0x19): undefined reference to `ostream::operator<<(char const *)' : >add -lgpp to your command line. : I came up with the same problem and I tried that and it still doesn't : work. I have all the files that Alex has. -- ============================================ Without my guitar, I am a poet without arms. - Michael Bloomfield ============================================
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |