delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/26/17:20:29

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem compilling under DOS
Date: Sun, 26 Sep 1999 14:42:07 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 28
Message-ID: <7slt1v$4rh$1@solomon.cs.rose-hulman.edu>
References: <kaqH3.30$3j5 DOT 3114 AT wagner DOT videotron DOT net>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938375039 4977 137.112.205.146 (26 Sep 1999 19:43:59 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 26 Sep 1999 19:43:59 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OmniMeta <meta AT abacom DOT com> wrote in message
news:kaqH3.30$3j5 DOT 3114 AT wagner DOT videotron DOT net...
> I am using DJGPP with RHIDE to compile, and I can
> only compile under Windows. When I try in DOS, I got:
>
> Creating: test.exe
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcxx: No such file or
directory
> (ENOENT)
> There were some errors

MS-DOS 7 does not support long file names such as
l i b s t d c x x . a
libstdcxx.a is a 9.1 file name, and DOS 7 supports file names longer
than 8.3 if and only if Sindows 9x is loaded or if a long filename driver
is loaded.

To "quick and dirty fix" this problem, rename libstdcxx.a to libstdcx.a;
it will be more compatible with good old DOS.

It seems that questions about long file names come up frequently
enough to be placed on the Mini-FAQ.


Damian Yerrick
http://pineight.webjump.com/


- Raw text -


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