DJ Delorie <[EMAIL PROTECTED]> wrote:
>> Is your gcc configured with --with-newlib --with-headers?
> 
> $TOP/gcc/gcc/configure --prefix=$PREFIX --target=$TARGET \
>   --enable-languages=c,c++ --with-newlib --with-mpfr=/usr/local
> 
> I do a two-phase build.  I build gcc (and let it fail for libgcc) to
> get xgcc/cc1, then build and install newlib, then go back and build
> gcc.
> 
> But it fails even in one of our recent combined-tree builds too.

Hmm... Did you try --with-headers?

I've configured my unified tree like as

../TMP/combined/configure --target=sh-elf 
--prefix=/exp/ldroot/dodes/install-combined --with-newlib --with-headers 
--disable-gdbtk --enable-languages=c

and got

Running /exp/ldroot/dodes/TMP/combined/gcc/testsuite/gcc.misc-tests/bprob.exp 
...

                === gcc Summary ===

# of expected passes            56

for "make check-gcc RUNTESTFLAGS='--target_board=sh-sim bprob.exp'.

Regards,
        kaz

Reply via email to