delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/20:50:43

From: Craig Peterson <johnp AT wi DOT frontiercomm DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Linking C++ programs in RHide
Date: Wed, 21 May 1997 17:47:05 -0500
Organization: Internet Services Provider Network
Lines: 25
Message-ID: <33837B69.25A9@wi.frontiercomm.net>
NNTP-Posting-Host: newrichmond-39.dialup.frontiercomm.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I just recently downloaded the DJGPP compiler and RHide, and I have been
having trouble getting it to link C++ programs correctly.  If I link
using the command line, the C++ programs appear to link correctly, but
using RHide, I always get a linker error, and I haven't found any
documentation that would help.

Using any C++ extension for my files, RHide reports first

  Executing:
  gcc -Ld:/djgpp/lib       -o test.exe test.o -liostr

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".

Any help would be appreciated, thanks.

Craig Peterson
<johnp AT wi DOT frontiercomm DOT net>

- Raw text -


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