www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/06/22:15:58

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: newbie using djgpp
Date: Wed, 06 May 1998 18:44:57 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 41
Message-ID: <3550E7E9.2BFE@cs.com>
References: <Pine DOT OSF DOT 3 DOT 95 DOT 980506140004 DOT 10721A-100000 AT ruunat DOT fys DOT ruu DOT nl>
NNTP-Posting-Host: ppp132.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martijn de Munnik wrote:
> 
> I've made a program which has to store a lot of data into mem, I always
> used bcc but a friend of my told me it's easier to use djgpp for
> allocating a lot of mem. The prorgam I created worked fine under UNIX but
> now i tried to compile it under dos the linker tells me
> 'C:\DJGPP\BIN/ld.exe: cannot open - lstdcxx: No such file or directory
> (ENOENT)'.
> 
> I did the following to compile and link my list.cpp file:
> set djgpp=c:\djgpp\djgpp.env
> path=%path%;c:\djgpp\bin
> gpp -c list.cpp
> gpp -o list.exe list.o
> 
> I also checked and both list.cpp and list.o where in the directory...

Most likely, you unzipped DJGPP with a program that does not understand
long filenames, so the name 'libstdcxx.a' in c:\djgpp\lib was truncated
to 'libstdcx.a'.  If this is the case, make sure to unzip with a
LFN-aware program such as Winzip or the latest pkunzip.

The second most likely cause is that you did unzip with a LFN-aware
utility, but then didn't tell DJGPP programs to use long filenames.  To
do this, put SET LFN=Y in your autoexec.bat, or run it along with the
other commands to set up DJGPP.

If you have any more problems, see the DJGPP Frequently Asked Questions
list.  Chapters 6 and 8 specifically discuss compilation-related
problems, and chapter 6.12 gives instructions for posting request for
help to the discussion group.

hth

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Autocracy is based on the assumption|
|       aka Fighteer I       | that one man is wiser than a million |
|   mailto:fighteer AT cs DOT com   | men.  Let's play that over again,    |
| http://www.cs.com/fighteer | too.  Who decides?"   - Lazarus Long |
---------------------------------------------------------------------

- Raw text -


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