www.delorie.com/archives/browse.cgi | search |
From: | "David Dean - [DS]Deaner666" <david AT deanhouse61 DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: RHIDE cpp linking trouble |
Date: | Thu, 1 Jul 1999 20:02:29 +0100 |
Organization: | Customer of Planet Online |
Lines: | 42 |
Message-ID: | <7lgdrk$8md$1@news5.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-146.name33.dialup.pol.co.uk |
X-Trace: | news5.svr.pol.co.uk 930855604 8909 62.136.176.146 (1 Jul 1999 19:00:04 GMT) |
NNTP-Posting-Date: | 1 Jul 1999 19:00:04 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 |
This is answered in the DJGPP FAQ, and also problems.txt, that you should have got with your download. You have to put an extra line in either your djgpp.env file, or your rhide.env file. Can't remember the line off the top of me head, but just search for lstdcx in the faq - it's all there. Dave _ <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 > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |