delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/21/15:45:33

From: "DeHackEd" <notgiven AT out DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <7fkt4v$ecdl$1 AT reader2 DOT wxs DOT nl>
Subject: Re: Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <0hpT2.5364$e4.1294@cabot.ops.attcanada.net>
Date: Wed, 21 Apr 1999 19:02:20 GMT
NNTP-Posting-Host: 142.194.222.47
X-Trace: cabot.ops.attcanada.net 924721340 142.194.222.47 (Wed, 21 Apr 1999 19:02:20 GMT)
NNTP-Posting-Date: Wed, 21 Apr 1999 19:02:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

MB <bram DOT vaessen AT fnmail DOT com> wrote in message
news:7fkt4v$ecdl$1 AT reader2 DOT wxs DOT nl...
> I use Rhide (newest version)
> This is when I name my files .cpp. If I rename to .c and set the compiler to
> cpp then is works corretly.

Just curious: are you using C++ libraries?


> I checked the diffrence:
>  gcc blablabla -lalleg -lstdcx        (when i use .cpp)
> gcc blablabal -lalleg                     (when i use .c)
> what is stdcx for and do i need this. If I don't need it how can I disable
> the -lstdcx ?

lib\libstdcx(x).a is the filename. These contain all the C++ library functions
you might use in your program. Since compiling C works (don't know why you need
to run it through the C++ compiler), why not just use C?

Anyway, if you want to correct the problem, see section 8.7 of the FAQ. Or for a
more interesting and univeral way of correcting the problem, do the follow
(wastes hard drive space, but it really works). Go to your DJGPP\LIB directory
and you should see a file called LIBSTDCXX.A. You want to have 2 files,
completely identical, called LIBSTDCX.A and LIBSTDCXX.A (the difference is 1
'X'). This ensures each way will work. smirk.
--
"DeHackEd"

My Email address in the header is fake (spammers). Email me at this address:

http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked


> I now I can just type it in dos. But I would like to use Rhide.
>
>
>


- Raw text -


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