Mail Archives: djgpp/1998/09/30/00:20:24
In-Reply-To: <360D4DF7 DOT AF97D918 AT galaxycorp DOT com>
I guess you're trying to compile and link a C++ program. Try checking
whether you've a file named "libstdcx.a" in "c:\djgpp\lib". If you find a
file called "libstdcxx.a" try renaming it to "libstdcx.a" and that may
solve the problem.
Note that if you want to compile and link C++ program, you must download
and install the lgpp package. This package contains stuffs for C++ such
as iostream, fstream and the STL, just to name a few.
If you've used DJGPP for compiling and linking plain C programs before
without problems, then maybe you've not installed the lgpp package.
I don't know the name of the lgpp package exactly though. I think it goes
something like lgpp###.zip where ### denotes the version number. Ask
around if you're not sure.
That's the best I can help you.
----------------------------------
Many regards,
Goh Yong Kwang
96606555
3K
----------------------------------
On Sat, 26 Sep 1998, ajschrotenboer wrote:
> I can compile and link .c files, but cannot .cc or .cpp.
>
> I can compile .cc and .cpp, but when I go to make (I'm using RHIDE 1.4)
> I get a linker error.
>
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)
>
> What's wrong??????
>
>
>
>
>
- Raw text -