On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote: > 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. > These changes have been verified to produce the same binaries (except for cc1plus which is just broken without them), and they are equivalent to what was already in -CURRENT before your WIP_GCC31 merge commit.
> > 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. > There's no difference, [b]yacc just copies C code blocks intact. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg38170/pgp00000.pgp
Description: PGP signature