Mail Archives: djgpp/2000/09/18/04:50:51
On Sat, 16 Sep 2000, AndrewJ wrote:
> On Sat, 16 Sep 2000 14:05:51 +0200, pavenis AT lanet DOT lv wrote:
>
> >As I already said, it seams You have completely messed up Your
> >DJGPP installation. Try reinstalliing DJGPP in fresh directory and see
> >if it's helps.
>
> No... it was the makefile in question trying to use GCC to compile a C++
> program, instead of using GPP.
>
You should be able to use GCC for compiling C++ if gppXXXXb.zip
(replace XXXX by real version) is installed unless installation is
messed up. Only thing to remember is to add '-lstdcxx -lm' after
object files when linking if either of STL or streams are being
used
Linker errors about __throw and similar functions points to installation
problem. Make sure You are not mixing different versions of GCC
(eg. gccXXXXb.zip and gppXXXXb.zip should be from the same version
and previous version should be removed at first)
Andris
- Raw text -