Date: Fri, 21 Jul 1995 15:23:48 -0700 From: Mike Stump <mrs@cygnus.com> To: "Philippe Charnier" <charnier@lirmm.fr> Cc: hackers@freebsd.org, bug-g++@prep.ai.mit.edu Subject: Re: libg++.2.6.1/FreeBSD-2.0.1-Devel. Message-ID: <199507212223.PAA10353@cygnus.com> In-Reply-To: Your message of "Thu, 27 Oct 1994 13:19:53 BST." <199410271221.NAA05878@lirmm.lirmm.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <charnier@lirmm.fr>
>
>
> 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 <<!EOF!
> typedef ${clock_t-int /* default */} ${macro_prefix}clock_t;
> typedef ${dev_t-int /* default */} ${macro_prefix}dev_t;
> +#ifdef __FreeBSD__
> +#include <sys/types.h>
> +#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
> ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507212223.PAA10353>
