Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 02:26:08 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: bmake/contrib framework for egcs
Message-ID:  <19990312022608.H85451@relay.nuxi.com>
In-Reply-To: <7104.921233330@zippy.cdrom.com>; from Jordan K. Hubbard on Fri, Mar 12, 1999 at 02:08:50AM -0800
References:  <19990311083452.N79145@relay.nuxi.com> <7104.921233330@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I've been compiling things w/in /usr/src/ , but haven't done a ``make
> > world'' with EGCS in-place in /usr/src due to the `cpp w/c++'' problem.
> 
> Where exactly does it die?  

Lets assume one is not trying to hook EGCS into /usr/src yet.

cd /foo/src/gnu/usr.bin/cc
make obj 
make depend
make -k
make -k install
    # the above will fail in libgcc since we are not using the freshly
    # built c++ because we aren't doing this as a ``build world'' which
    # would do the appropriate bootstrapping.  Same issues as the previous
    # gcc 2.6.x to 2.7.x upgrade.
make cleandir
make obj 
make depend
make
make install

cd /foo/src/gnu/usr.bin/lib/libstdc++
make obj 
make depend

    CC="cc" CXX="c++" CONFIG_NM="nm"  CPP="cc -E -nostdinc -idirafter
    /usr/include"  sh
    /foo/src/gnu/lib/libstdc++/../../../contrib/egcs/libio/gen-params
    LIB_VERSION=3.0.0 >_G_config.h
    c++: Internal compiler error: program cpp got fatal signal 11
    gen-params: could not compile dummy.C with c++
    *** Error code 1

It is at this point, that I'm coping ``cpp'' from an installed copy of
the Egcs port into /usr/libexec so I can keep working on `build world'
issues.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990312022608.H85451>