This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Technique for finding regressions in the C++ parser
- From: Phil Edwards <phil at jaj dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: Craig Rodrigues <rodrigc at attbi dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 2 Dec 2002 14:18:08 -0500
- Subject: Re: Technique for finding regressions in the C++ parser
- References: <20021129213416.A1134@attbi.com> <20021201000613.A10806@disaster.jaj.com> <20021202094846.A2265@us.ibm.com>
On Mon, Dec 02, 2002 at 09:48:46AM -0800, Janis Johnson wrote:
> Phil, what other directories can be excluded for building just cc1plus,
> or if only building C and C++ compilers and libraries?
This took some digging, but I finally found a script from the Bad Old Days
which did exactly this. Arguments to rsync were
--rsync-path=/usr/local/bin/rsync \
--stats --archive --delete --compress --update --times \
--exclude='#cvs.rfl.*' --exclude='#cvs.wfl.*' --exclude='#cvs.lock' \
--exclude='gcc/gcc/ada/' --exclude='gcc/gcc/ch/' --exclude='gcc/gcc/f/' \
--exclude='gcc/gcc/java/' --exclude='gcc/gcc/objc/' \
--exclude='gcc/zlib/' --exclude='gcc/libchill/' --exclude='gcc/libf2c/' \
--exclude='gcc/libffi/' --exclude='gcc/libio/' --exclude='gcc/libjava/' \
--exclude='gcc/libobjc/' --exclude='gcc/libstdc++/' \
--exclude='gcc/testsuite/g77.dg/' --exclude='gcc/testsuite/g77.f-torture/' \
--exclude='gcc/testsuite/objc/' --exclude='gcc/testsuite/objc.dg/' \
That will still get the C and C++ compilers, libstdc++-v3, and associated
testsuites. From there, it's easy to remove the Java-associated directories
from the list above and get that language too.
'--compress' might actually do more harm than good these days, dunno.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002