Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 16:41:53 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...
Message-ID:  <20020510164153.B1221@dragon.nuxi.com>
In-Reply-To: <20020510150427.GA14295@sunbay.com>; from ru@FreeBSD.org on Fri, May 10, 2002 at 06:04:27PM %2B0300
References:  <200205100854.g4A8soc37068@freefall.freebsd.org> <20020510150427.GA14295@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote:
> >   Bmake bits for Gcc 3.1.
>   
> This also vanished my YACC building fixes and broke world while
> attempting to build `cc1plus' in a cross-tools stage.  The changes
> below fix this and CLEANFILES.

These changes are wrong.
 
> RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc1/Makefile,v
...
> -c-parse.c: c-parse.in
> +c-parse.y: c-parse.in
>  	sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
>  	    -e "/^ifc$$/d" \
>  	    -e "/^end ifc$$/d" \
> -	    ${GCCDIR}/c-parse.in > c-parse.y
> -	${YACC} -o c-parse.c.in c-parse.y
> -	sed -e "s/malloc/xmalloc/g" \
> +	    -e "s/malloc/xmalloc/g" \
>  	    -e "s/realloc/xrealloc/g" \
> -	    c-parse.c.in >c-parse.c
> +	    ${.ALLSRC} > ${.TARGET}

The malloc usage is in the Byacc output, not the input.

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?20020510164153.B1221>