delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/26/20:43:23

From: "Daniel Silva" <nogsilva AT mail DOT telepac DOT pt>
Newsgroups: comp.os.msdos.djgpp
Subject: gxx -o file.exe file.o -lstdcx: error
Date: Sun, 26 Dec 1999 21:13:34 -0000
Lines: 35
Message-ID: <8460jt$6t5$1@duke.telepac.pt>
NNTP-Posting-Host: 194.65.171.30
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I create a simple "Hello World" program in C++ (or any other C++ program -
this does not happen with C). There are no errors except when he starts
creating the .exe file, then the error:

Compiling error.cpp
no errors
Creating hello.exe
Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory
(ENOENT)
There were some errors

I can't find any info about the problem (bin\ld.exe exists). It must be a
RHIDE's configuration problem...
After the error message, when I have the hello.o file, I compile the file
with gxx (by gxx -o hello.exe hello.o) and the .exe file is created without
problem.
So I can go around this problems but I don't know why it happens. I don't
even know what <<end1; means, but they exist in lots of the examples given
in the book.
Also I added a list of the DJGPP installed zip files for you to know what do
I have and don't have.
\v2\
     djdev202
     faq211b
\v2apps\
     rhide14b
\v2gnu\
     bnu281b
     gcc2952b
     gpp2952b
     lgpp295b
     mak377b
     txi312b


- Raw text -


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