[comp.lang.c++] C++ 1.1 and Sun 3.0

jon@oddhack.Caltech.Edu (Jon Leech) (11/29/86)

	When getting 1.1 up on Sun 3.0, I found that the sources
cross-compiled to C on our VAX and then bootstrapped produced a working
cfront, but this cfront then died when trying to recompile main.c with
the ever popular ``internal error: bus error (or something nasty like that)''.
At first it appeared this was the problem with print.c which Mike Wescott
posted a patch for recently, however, this turned out not to be the
case. cfront was dying in norm::normalize() (in norm.c). After considerable
poking around, I found that simply moving the line

	#include <signal.h>

	from right before the routine 'core_dump' to right after the line

	#include <ctype.h>

	in main.c made this problem go away. Darned if I know why, or 
if anyone else has seen this one, but cfront does recompile itself now 
on our Suns.

    -- Jon Leech (jon@csvax.caltech.edu || ...seismo!cit-vax!jon)
    Caltech Computer Science Graphics Group
    __@/

news@cit-vax.Caltech.Edu (Usenet netnews) (11/29/86)

Organization : California Institute of Technology
Keywords: 
From: jon@oddhack.Caltech.Edu (Jon Leech)
Path: oddhack!jon

In article <1243@cit-vax.Caltech.Edu> jon@cit-vax.UUCP (Jon Leech) writes:
>case. cfront was dying in norm::normalize() (in norm.c). After considerable

	Excuse me; it was dying in name::normalize(). There is no
routine norm::normalize().

    -- Jon Leech (jon@csvax.caltech.edu || ...seismo!cit-vax!jon)
    Caltech Computer Science Graphics Group
    __@/