Mail Archives: djgpp/1999/08/05/12:44:44
On Wed, 4 Aug 1999, Burger Rule wrote:
> I paused the screen and noted ,when choosing RUN, it uses:
>
> gcc -o test.exe test.o -lstdcx
>
> When I manually do the same as above, but with out the -lstdcx, it gives a
> bunch of errors.
You get errors because without -lstdcxx the linker doesn't find the C++
classes and functions your program uses.
> But shouldn't it use 'gxx'?.
Using gxx is just a way to avoid typing -lstdcxx on the command line.
Since RHIDE is a program, not a person, it doesn't get tired of
``typing'' another argument ;-).
> I also did the above using gxx without the '-lstdcx'.
That's because gxx uses -lstdcxx (note: 2 x's). The problem solution for
RHIDE is described in the DJGPP FAQ, section 8.7; please read it.
- Raw text -