delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/19/20:59:29

Sender: nate AT cartsys DOT com
Message-ID: <367C596C.749C1862@cartsys.com>
Date: Sat, 19 Dec 1998 17:57:00 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com, sparky64 AT ptialaska DOT net
Subject: Re: error when creating .exe
References: <002101be13f8$2d703ca0$04dc46c6@->
Reply-To: djgpp AT delorie DOT com

> dainbramage wrote:
> 
> I'm using djgpp at home for a college C++ class, and when I try to
> compile a source file, I get this error when it tries to make the
> .exe:
> 
> c:/gpp/bin/ld.exe: cannot open -lgpp: No such file or directory
> (ENOENT)

What command are you using to compile/link?  It seems to be using
libgpp, which is now obsolete.  If it's some variant of `gxx', `gpp', or
`g++', post its size and datestamp, because they are duplicated in
several packages (the executables are in /gpp/bin).

In the short term, try using `gcc' and adding `-lstdcxx' to the end of
the command line.  Like:

gcc -o foo.exe foo.cc -lstdcxx

And please don't post in HTML.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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