Mail Archives: djgpp/1998/08/10/10:20:19
brianrunck AT aol DOT com (BrianRunck) wrote:
> I've looked far and wide for this, including the DJGPP FAQ and I still don't
> quite get it. What I want to do is use the STL and somehow compile the program
> in RHIDE.
> I found that you should add -lstdcxx as a parameter which is easy enough to do,
> but it doesn't work any better. Also when compiling or running a project, when
> it compiles it always calls GCC instead of GXX. I've tried different file
> extensions (cpp, cc) and I'm not sure what to try there to get RHIDE to use GXX
> instead.
> Of course that may not matter even if I could get it to do that...ultimately I
> want to use the STL in my programs. Thanks.
From the problems.txt file included with GCC 2.8.1:
RHIDE-1.4
Q) When trying to link C++ program RHIDE-1.4 returns error message
ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)
A) The name of C++ library has changed since port of gcc-2.7.2.1.
The fix for this problem is add line
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
to %DJDIR%/share/rhide/rhide.env. Or add 2 lines
[rhide]
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
to Your DJGPP.ENV. An example of DJGPP.ENV with this fix is in
directory gnu/gcc-2.81 (archive gcc281b.zip)
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -