delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/02/20:17:25

Message-ID: <00b501be1e5b$683f7900$13eb43ca@dt2>
From: "Don Tennant II" <dt2 AT hknet DOT com>
To: <djgpp AT delorie DOT com>
Cc: <mback AT mail DOT bip DOT net>
Subject: Re: link problem
Date: Thu, 3 Dec 1998 09:19:02 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Reply-To: djgpp AT delorie DOT com

this is explained in the documentation.  you're using rhide, right?  it
should now use -lstdcxx.

this is from c:\djgpp\gnu\gcc-2.81\problems.txt (directory might be
different on your computer).

----------------------

RHIDE-1.4

   Q) When trying to link C++ program RHIDE-1.4 returns error message
      ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)

   A) The name of C++ library has changed since port of gcc-2.7.2.1.
      The fix for this problem is add line

      RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx

      to %DJDIR/share/rhide/rhide.env. Or add 2 lines

      [rhide]
      RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx

      to Your DJGPP.ENV. An example of DJGPP.ENV with this fix is in
      directory gnu/gcc-2.81 (archive gcc281b.zip)

      Or upgrade RHIDE to later versions as this problem is fixed
      in 1.4.5 and later versions.

-----------------


----- Original Message -----
From: Mikael Backman <mback AT mail DOT bip DOT net>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Wednesday, 2 December 1998 11:03 PM
Subject: link problem


>I've just installed DJGPP.Whem I try to run my first program (hello.cc)
>I get the following error message:
>ld.exe  cannot open  -lstdcx No such file ore directory (ENOENT)
>
>What is wrong?
>
>/Mikael Backman
>e-mail  mback AT mail DOT bip DOT net
>
>
>

- Raw text -


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