sh-elf vs profiling
Kaz Kojima
kkojima@rr.iij4u.or.jp
Thu Feb 7 00:36:00 GMT 2008
DJ Delorie <dj@redhat.com> 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
More information about the Gcc
mailing list