delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/23/10:17:26

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking C++ programs in RHide
Date: 23 May 1997 02:07:24 GMT
Organization: Oxford University, England
Lines: 21
Message-ID: <5m2u4s$609@news.ox.ac.uk>
References: <33837B69 DOT 25A9 AT wi DOT frontiercomm DOT net>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Craig Peterson (johnp AT wi DOT frontiercomm DOT net) wrote:

: and then ends with an error of

:   Error: d:/djgpp/bin\ld.exe: cannot open -liostr: No such file or    
: directory (ENOENT)

: All "test.cpp" does is load and return(0), so it isn't the program
: itself, and it compiles correctly if it's renamed to "test.c".

You didn't say what command line you used which worked; it may be that you
actually don't have the C++ libraries, and your command line wasn't
linking them in. Try using gxx instead of gcc; if that fails in the same
way, you probably need to download v2gnu/lgp271b.zip from the place you
got DJGPP. 

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

What's the wizard's password for? (dunnet)

- Raw text -


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