From: "merser" To: "DJGPP" Subject: GCC 2.8.0 installation nearly works Date: Tue, 7 Apr 1998 18:52:44 +0200 Message-ID: <01bd6245$95c011a0$0ca9eac2@Image> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0037_01BD6256.5948E1A0" Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0037_01BD6256.5948E1A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Linking with stdcxx did help a lot, since several programs compile and = run well.But recompile / relinking other programs gives an error = message. This also when I compile / link from within RHIDE. First the makefile: XLIBS=3D-lstdcxx heap.exe : heap.o gcc -fsjlj-exceptions -o heap.exe heap.o ${XLIBS} heap.o : heap.cc g++ -c -fsjlj-exceptions heap.cc Then the error message: In file included from c:/djgpp/lang/cxx/new.h:6, from c:/djgpp/lang/cxx/stlalgobase.h:52, from c:/djgpp/lang/cxx/vector:30, from heap.cc:5: c:/djgpp/lang/cxx/std/new.h:26: warning: declaration of `operator = delete(void *)' throws different exceptions :26: warning: previous declaration here c:/djgpp/lang/cxx/std/new.h:27: warning: declaration of `operator delete = [](void *)' throws different exceptions :27: warning: previous declaration here c:/djgpp/lang/cxx/stl_algo.h: In function `void __random_shuffle(float *, float *, int *)': c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first use this = function) c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared identifier is = reported only once c:/djgpp/lang/cxx/stl_algo.h:617: for each function it appears in.) make.exe: *** [heap.o] Error 1 ------=_NextPart_000_0037_01BD6256.5948E1A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Linking with stdcxx did help a lot, = since=20 several programs compile and run well.But recompile / relinking other = programs=20 gives an error message. 
This also when I compile / link from = within=20 RHIDE.
 
First the makefile:
XLIBS=3D-lstdcxx
heap.exe :=20 heap.o
     gcc -fsjlj-exceptions -o heap.exe = heap.o=20 ${XLIBS}
 
heap.o : = heap.cc
     g++=20 -c -fsjlj-exceptions heap.cc
 
 
Then the error message:
In file included from=20 c:/djgpp/lang/cxx/new.h:6,
       &= nbsp;        =20 from=20 c:/djgpp/lang/cxx/stlalgobase.h:52,
     &nbs= p;          =20 from=20 c:/djgpp/lang/cxx/vector:30,
       = ;         =20 from heap.cc:5:
c:/djgpp/lang/cxx/std/new.h:26: warning: declaration = of=20 `operator delete(void *)' throws different = exceptions
<internal>:26:=20 warning: previous declaration here
c:/djgpp/lang/cxx/std/new.h:27: = warning:=20 declaration of `operator delete [](void *)' throws different=20 exceptions
<internal>:27: warning: previous declaration=20 here
c:/djgpp/lang/cxx/stl_algo.h: In function `void=20 __random_shuffle<float *, int>(float *, float *, int=20 *)':
c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first = use this=20 function)
c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared = identifier is=20 reported only once
c:/djgpp/lang/cxx/stl_algo.h:617: for each = function it=20 appears in.)
make.exe: *** [heap.o] Error = 1
 
------=_NextPart_000_0037_01BD6256.5948E1A0--