www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/30/17:46:37

From: krugman AT abcd4 DOT demon DOT co DOT uk (Kev)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: linker error with lstdcx
Date: Sat, 30 May 1998 21:23:01 GMT
Message-ID: <35707883.40463808@news.demon.co.uk>
References: <357006D3 DOT 79E72EFA AT netvision DOT net DOT il>
NNTP-Posting-Host: reality-bytes.demon.co.uk
Lines: 68
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sat, 30 May 1998 16:17:07 +0300, Amir Elisha Aharoni
<doty AT netvision DOT net DOT il> wrote:

>Hello, djgpp pros
>
>I'm learning C++, but i'm a little short of cash to get MS VC++, so this
>morning i downloaded djgpp and RHIDE, and i'm really pleased with what i
>got, except that i can't build the following:
>
>#include <iostream.h>
>
>int main()
>{
> cout << "Hello, world!" << endl;
> return 0;
>}
>
>First i had problems compiling -- it couldn't find streambuf.h; i fixed
>that by running RHIDE with -y. Now it compiles, but the linker returns
>the following error:
>
>Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
>directory (ENOENT)
>
>From the FAQ file i understood that it's some kind of standard library;
>i searched for "lstdcx" on my hard drive, it's not there.
>
>Is it really a missing file that i must download and install? If so,
>what is the name of the zip? And if not, how can i fix that?
>
>Tech info: i run it on Win95 DOS window / Pentium 166 MMX / RHIDE.
>
>Thanks in advance for your help.
>
>-- 
>Now playing: Tricky - Pre-Millenium Tension
>
>Amir Elisha Aharoni, the original Israelite
>mailto:dotyman AT bigfoot DOT com
>ICQ - 3816214
Regarding the error message :
Trying to compile C++ files gives:

c:/djgpp/bin/ld.exe: cannot open -1stdcx: No such file or directory

I have noticed a lot of posts in this 
group about this and must admit it kept
me amused for a day and a half trying
to figure this out


Though it took a long time to find it,
the answer is documented in this file:- 

D:\DJGPP\gnu\gcc-2.81\problems.txt

(I shall not reproduce it here, bandwidth etc)

Two options are suggested, the first didn't 
work for me, but the second did. I thik this 
may be a good item to see in the FAQ list

If anyone knows how to setup an offscreen
buffer in video ram, can they please post about it.

Happy Coding

Kevin

- Raw text -


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