From owner-freebsd-hackers Fri Jul 21 15:24:06 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id PAA27696 for hackers-outgoing; Fri, 21 Jul 1995 15:24:06 -0700 Received: from cygnus.com (cygnus.com [140.174.1.1]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id PAA27690 for ; Fri, 21 Jul 1995 15:24:05 -0700 Received: from localhost.cygnus.com (rtl.cygnus.com [140.174.1.2]) by cygnus.com (8.6.12/8.6.9) with ESMTP id PAA10353; Fri, 21 Jul 1995 15:23:48 -0700 Message-Id: <199507212223.PAA10353@cygnus.com> To: "Philippe Charnier" cc: hackers@freebsd.org, bug-g++@prep.ai.mit.edu Subject: Re: libg++.2.6.1/FreeBSD-2.0.1-Devel. In-reply-to: Your message of "Thu, 27 Oct 1994 13:19:53 BST." <199410271221.NAA05878@lirmm.lirmm.fr> Date: Fri, 21 Jul 1995 15:23:48 -0700 From: Mike Stump Sender: hackers-owner@freebsd.org Precedence: bulk I believe that these problems have been fixed. Let us know if they are not. > Message-Id: <199410271221.NAA05878@lirmm.lirmm.fr> > Date: Thu, 27 Oct 1994 13:19:53 +0100 > From: "Philippe Charnier" > > > while installing libg++-2.6.1 on FreeBSD-2.0.1-Development > (/usr/local/bin/gcc -> /usr/bin/cc, the FreeBSD port of gcc-2.6.0) > > > Remove 2 spaces characters > > --- ./libg++/etc/ADT-examples/Makefile.in.orig Wed Oct 26 23:38:25 1994 > +++ ./libg++/etc/ADT-examples/Makefile.in Wed Oct 26 23:38:59 1994 > @@ -36,7 +36,7 @@ > > genkey: genPatkey.o > $(CXX) genPatkey.o -o $@ $(LIBS) > - > + > Patricia.o: $(srcdir)/Patricia.h > Patmain.o: $(srcdir)/Patricia.h > > The output (_G_config.h) is: typedef quad_t fpos_t > breaks the compilation. `quad_t' is defined in sys/types.h. > > --- ./libio/gen-params.orig Wed Oct 26 23:52:16 1994 > +++ ./libio/gen-params Wed Oct 26 23:58:48 1994 > @@ -277,6 +277,9 @@ > cat < typedef ${clock_t-int /* default */} ${macro_prefix}clock_t; > typedef ${dev_t-int /* default */} ${macro_prefix}dev_t; > +#ifdef __FreeBSD__ > +#include > +#endif > typedef ${fpos_t-long /* default */} ${macro_prefix}fpos_t; > typedef ${gid_t-int /* default */} ${macro_prefix}gid_t; > typedef ${ino_t-int /* default */} ${macro_prefix}ino_t; > > > lena # ./configure i386-unknown-freebsd > lena # make > [...] > gcc -c -g -O2 -fno-implicit-templates -nostdinc++ -I. -I../../libio -I. -I./../../libio -I./../src Integer.cc > Integer.cc: In function `struct IntRep * div(const struct IntRep *, long int, struct IntRep *)': > Integer.cc:1185: Internal compiler error. > Integer.cc:1185: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > No error when running make again. > > lena # make > cd tests; make all ... > cd dbz; make all ... > cd stdio; make all ... > `iostream.list' is up to date. > gcc -c -g -O2 -fno-implicit-templates -nostdinc++ -I. -I../../libio -I. -I./../../libio -I./../src Integer.cc > [...] > > > > > -------- -------- > Philippe Charnier charnier@lirmm.fr > > > LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France > ------------------------------------------------------------------------