cvs.gedasymbols.org/archives/browse.cgi | search |
From: | "Paul J G" <paul AT gerfen DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: RHIDE cpp linking trouble |
Date: | Fri, 2 Jul 1999 23:11:53 -0700 |
Organization: | Customer of Planet Online |
Lines: | 47 |
Message-ID: | <7ljcv4$1u$1@news7.svr.pol.co.uk> |
References: | <2UDe3.18844$g02 DOT 48756 AT news DOT rdc1 DOT ab DOT wave DOT home DOT com> |
NNTP-Posting-Host: | modem-224.name41.dialup.pol.co.uk |
X-Trace: | news7.svr.pol.co.uk 930952996 62 62.136.180.224 (2 Jul 1999 22:03:16 GMT) |
NNTP-Posting-Date: | 2 Jul 1999 22:03:16 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
_ <cbatt AT home DOT com> wrote in message news:2UDe3.18844$g02 DOT 48756 AT news DOT rdc1 DOT ab DOT wave DOT home DOT com... > I'm doing the standard cpp "Hello World" (#include <iostream.h> int > main(){cout<<"Hello World!";return 0;}) test program w/ DJGPP via RHIDE and > I can't get RHIDE to either "make" or "build all" on the project. > > It will compile fine, but it won't link and the error I get is: > > ld.exe could not open -lstdcx no such file or directory > > I assume that it's missing a library file with the name "lstdcx" but I can't > find info. on where to get this file, or even if that's the particular > problem that I'm having. > > Notes: > > - RHIDE will "compile" the program to an object file > - this program compiles and links fine from the command line. > - a standard c "Hello World" program (#include<stdio.h> int > main(){printf("Hello World!");return 0;}) will "make" or "build all" just > fine w/ RHIDE. > > I'm running through a dos-box on a win98 machine, if that makes any > difference (all source and project filenames I used are 8.3 compliant for > safety's sake). > > Any help at all would be appreciated. > > > CBatt > > Assuming you`ve put the 2 lines in your autoexec.bat file that DJGPP asks you to, insert the following line into your DJGPP.ENV file. [rhide] RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx Make sure that you restart the computer before trying it again.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |