On 17 May 2005 08:59:07 -0400, Ian Lance Taylor <ian@airs.com> wrote: > Richard Guenther <[EMAIL PROTECTED]> writes: > > > /net/alwazn/home/rguenth/src/gcc/cvs/gcc-4.1/gcc/testsuite/gcc.dg/compat/generate-random.c:55:23: > > libiberty.h: No such file or directory^M > > /net/alwazn/home/rguenth/src/gcc/cvs/gcc-4.1/gcc/testsuite/gcc.dg/compat/generate-random_r.c:56:23: > > libiberty.h: No such file or directory^M > > WARNING: Could not compile gcc.dg/compat/struct-layout-1 generator > > > > Note how > > 1. it uses $(CC) for building, not the built compiler > > That is correct, as this program is run on the build system to > generate test cases. > > > 2. it doesn't provide an include path to libiberty.h > > I think that it no longer needs to include libiberty.h--in fact I'm > not sure generate-random.c ever needed it. Try just removing the > #include.
It works after removing the libiberty includes from generate-random.c and generate-random_r.c Richard.