delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/01/05:59:54

Date: Thu, 1 Jul 1999 12:57:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: TUNNEL <yonir AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Please Help, I can't compile!!
In-Reply-To: <7l9114$7oe$1@diana.bcn.ttd.net>
Message-ID: <Pine.SUN.3.91.990701125723.12509B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 28 Jun 1999, TUNNEL wrote:

> Well, I have a problem, I want to compile several source files, the author
> suggests to do it using MAKE ALL after prompt but everytime I do it I get a
> message like this:
> 
> "c:/djgpp/bin/ld.exe: cannot open -lg++: No such file or directory (ENOENT)"
> 
> Seems that 'something' (sorrry, I'm not a computer wiz) called -lg++ is
> missing in the DJGPP directory, am I right?.

The linker looks for a library called libg++.a.  In the DJGPP port, it
is called libgpp.a, since DOS doesn't allow a `+' in file names.

So the solution is to edit the Makefile and replace -lg++ with -lgpp
(that's a lower-case ell after the dash, not the digit one!).

- Raw text -


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