Mail Archives: djgpp/1999/01/22/15:26:50
Andy Juell wrote:
> I'm not entirely new to C++, just DJGPP, before anyone misinterprets the
> above, and although GCC seems to be working fine, GXX invariably
> prints the following error message upon execution.
>
> c:\djgpp\bin\ld.exe: cannot open -lstdcxx: No such file or directory
> (ENOENT)
>
> I unzipped ALL the files in the appropriate distribution, and found
> no file by that name, so I'm really not sure what it is I'm missing.
> In any case, the FAQ said I should throw in my environ.lst,
>
> TMP=c:\windows\TEMP
> TEMP=C:\windows\TEMP
> PROMPT=$p$g
> winbootdir=C:\WINDOWS
> COMSPEC=C:\WINDOWS\COMMAND.COM
> PATH=C:\WINDOWS;c:\windows;c:\windows\COMMAND;C:\DJGPP\BIN;C:\PKZIP
> DJGPP=C:\DJGPP\DJGPP.ENV
> LANG=EN
> ZIPD=C:
> windir=C:\WINDOWS
> BLASTER=A220 I5 D1
>
> (on a hopefully-irrelevant note, does that ZIPD line incorrectly
> identify c: as my zip-drive? I didn't type that in, but my
> zip-drive is on D:)
>
> My autoexec.bat,
>
> @ECHO OFF
> SET BLASTER=A220 I5 D1
> SET PATH=C:\DJGPP\BIN;C:\PKZIP
> SET DJGPP=C:\DJGPP\DJGPP.ENV
>
> LH C:\WINDOWS\COMMAND\DOSKEY
>
> if exist c:\paprfix.bat call c:\paprfix.bat
> @REM Next 3 Lines are Only Required for 1 Boot but are OK to leave
> permanently
> @REM Next Line added by Compaq Service Connection Install - Please do
> not Remove
> @REM Next 3 Lines are Only Required for 1 Boot but are OK to leave
> permanently
> IF EXIST C:\PIPOST.BAT CALL \PIPOST.BAT
> IF EXIST C:\PIPOST.BAT DEL \PIPOST.BAT
> IF EXIST C:\CPQS\BACKWEB\BWSETUP.BAT CALL C:\CPQS\BACKWEB\BWSETUP.BAT
>
> And, my config.sys.
>
> DEVICE=C:\WINDOWS\HIMEM.SYS
> DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
> DOS=HIGH,AUTO,UMB
> DEVICEHIGH=C:\WINDOWS\SYSTEM\CPQIDECD.SYS /D:IDECD001
> FILESHIGH=40
> BUFFERSHIGH=20,4
>
> Any assistance you could offer would be greatly appreciated,
> my apologies if my present (prescription) drug-induced stupor
> prevents me from seeing the blindingly obvious here...thanks in
> advance for your help!
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
Yes, well, I had the same problem.
Did you change the line
"+LFN=n" to "+LFN=y"
in DJGPP.ENV if not then do it, it should work, here´s a tip:
If your planning on working both in longfilename environments
(Windows9x) and say
MS-DOS like me you probably would be better of having a file named
"libstdcxx.a" (for
lfn) as well as a file named "libstdcx.a" for MS-DOS, also because since
some programs
have "-libstdcxx" and others have "-lstdcx" (I think).
Anyhow, just changing that line should do it!
- Raw text -