delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/07:16:39

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why can't I link '.cc' programs? -lstdcxx error
Date: Tue, 07 Jul 1998 23:24:19 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 37
Message-ID: <35A2E663.8C1869C8@cs.com>
References: <01bda8cd$3caee9a0$0100a8c0 AT dismuntel DOT ctv DOT es>
NNTP-Posting-Host: ppp125.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> Javier Calleja wrote:
> 
> Hi world:
> 
>    Always the same: I canīt link cpp programs because DJGPP donīt find
> -lstdcxx library if i use the RHIDE environment. I can compile, and I
> can create the executable programm with the gcc, but, please, before
> send me messages tell me that I read the faq or I create the
> environment variable 'RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx' in the
> DJGPP.ENV or in the RHIDE.ENV:
> 
>    I HAVE ALREADY MODIFIED THESE THILES AND I HAVE THIS VARIABLE.
> 
>   So, why does this message appear yet?

You must have done two things:

 1) Unzipped the C++ libraries with an unzip program that understands
long filenames.
 2) SET LFN=Y in your environment (or changed the setting in djgpp.env).

The default setting of LFN=N in 'djgpp.env' causes DJGPP programs to
_not_ use long filenames even if they are available.  Since
'libstdcxx.a' has a 9 character filename, you must have LFNs on for
DJGPP to find it.

There's a third alternative:  see chapter 8.2 of the FAQ to learn how to
disable Windows 95's automatic use of numeric tails for long filenames. 
You'll have to reunzip all DJGPP programs to take advantage of it.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "To be 'matter of fact' about the    |
|       aka Fighteer I       | world is to blunder into fantasy--   |
|   mailto:fighteer AT cs DOT com   | and dull fantasy at that, as the real|
| http://www.cs.com/fighteer | world is strange and wonderful." -LL |
---------------------------------------------------------------------

- Raw text -


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