www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/18/04:50:51

Date: Mon, 18 Sep 2000 10:13:54 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: AndrewJ <luminous-is AT home DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: V2 update installation problem
In-Reply-To: <lda7ssgfljbg80j124p8g7jfmnuln6o01m@4ax.com>
Message-ID: <Pine.A41.4.05.10009181006270.93564-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019