From: am898 AT chebucto DOT ns DOT ca (Blake McCurdy) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with LD.EXE Date: 3 Jul 1998 17:30:43 GMT Organization: Chebucto Community Net Lines: 50 Message-ID: <6nj4g3$b0c$1@News.Dal.Ca> References: <359d03cd DOT 0 AT news DOT zeitung-online DOT net> NNTP-Posting-Host: chebucto.ns.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I had the same problem. There is a *real* solution, but until then, use the one i"m using. take libstdcxx.a, and make a backup of it. Then take the original and rename it to libstdcx.a (just one x now). It's incredibly cheap, but it works. Make sure to make the backup. Me. Florian Janoschek (FJanoschek AT donau DOT de) wrote: : Hello people, : I've just downloaded djgpp and everything seems to work well, except a : little problem with LD: : I've written a simple program like that: : int main(void) { : return 0; : } : And while linking I always get the following message: : Error: c:/progra~2/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or : directory (ENOENT) : I read the docs to LD and found out that this error probably occured because : ld couldn't find the file libstdcx.a . So I looked in my directories for : this file and I found libstdcxx.a . (one "x" more!) : So I renamed this file to libstdcx.a, which caused only other errors. : I really don't know what is wrong with my program or my configurations. : Please help me, I'm nearly entering "deltree c:\djgpp" ... :-) : Lots of thanx for your work... : -- : Greetings, : Florian Janoschek : FJanoschek AT donau DOT de -- _______________________________________________________________________ | | | | | "So then I said 'No, Juan, it's the rice!!' " | | | |_____________________________________________________________________|