Mail Archives: djgpp/1998/05/11/09:15:21
Have you set your directories all correctly?
The C++ libraries and headers are in different directories than the
C compiler.
Chaos Harlequin wrote:
>
> Everyone,
>
> I've been using RHIDE as my IDE ever since I started using DJGPP, and
> when using C programs, it's worked fine. However, I've begun to try to
> compile C++ programs, and I've had a problem. Whenever I try using the
> "Run" command on any such program, I get the error message:
>
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (EN0ENT)
>
> When I run the "g++.exe" program to compile C++ programs, the error
> message reads:
>
> ld.exe: cannot open -lstdcxx: No such file or directory (ENOENT)
>
> I tried using other options in the dialog box which lets you pick a
> compiler, but everything I tried caused the compiler to treat the code
> as C, rather than C++.
>
> Oddly enough, when I simply type "gcc x.cc" the code seems to compile
> fine.
>
> Any suggestions on how to fix this problem?
>
> Joshua Hall Bachner
> harlequin AT tmbg DOT org
> The Authoritative M:tG reference:
> http://www.frontiernet.com/~phopkins/?ch
- Raw text -