www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/19/04:48:36

Date: Tue, 19 Jan 1999 11:44:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Andy Juell <kudeita AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP newbie goof...what did I do wrong?
In-Reply-To: <19990119035759.25391.qmail@hotmail.com>
Message-ID: <Pine.SUN.3.91.990119114408.12893M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 18 Jan 1999, Andy Juell wrote:

> c:\djgpp\bin\ld.exe: cannot open -lstdcxx: No such file or directory 
> (ENOENT)
> 
> I unzipped ALL the files in the appropriate distribution, and found
> no file by that name, so I'm really not sure what it is I'm missing.

You are missing the explanations in section 8.7 of the FAQ.  The
argument -lstdcxx passed to the linker instructs it to look for a
library libstdcxx.a in the C:\DJGPP\LIB directory.  If this file is
not found, the linker then falls back to looking for a file -lstdcxx
verbatim (since such file names are possible), which also fails.

But the real problem is that it cannot find libstdcxx.a; section 8.7
explains how to fix that.

- Raw text -


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