This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Technique for finding regressions in the C++ parser


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]