delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/25/07:03:33

Date: Thu, 25 Jun 1998 13:59:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Mark R. Clay" <clayfm AT cin DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Okay... I got DJGPP at least running, but I can't compile C++!!!!!
In-Reply-To: <3591B4F3.1D21@cin.net>
Message-ID: <Pine.SUN.3.91.980625135625.27632G-100000@is>
MIME-Version: 1.0

On Wed, 24 Jun 1998, Mark R. Clay wrote:

> If you saw my last post (by the way, sorry that it was posted twice...
> accident...), I finally got DJGPP working (sort of). It didn't like my
> Windows 95 directory name "Programming". I fed it "PROGRA~2" and it
> worked.

Looks like you need to set LFN=y in the environment.  Then the long file 
names will also work for you.

> Now, I can compile C files just fine. But when I try to compile
> a C++ file (I'm doing this through rhide), it says "Error:
> c:/progra~2/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)".

If "set LFN=y" doesn't correct this (it might), make sure you have 
libstdcx.a file in the c:/progra~2/djgpp/lib directory.

> I got LD.EXE (as well as AS.EXE) from my FPK pascal
> compiler because DJGPP said it couldn't find them.

Not a good idea.  You need to download v2gnu/bnuNNNb.zip from the same 
place you get DJGPP.  This archive includes as.exe and ld.exe, among 
other programs.

- Raw text -


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