After installing the toolchain from the crossbuild-1.0.sh script, "make check" in the or1ksim build directory fails:
build-or1ksim$ make check ... ...
make4: Entering directory crossbuild-build/build-or1ksim/testsuite/test-code-or1k/support'
/bin/bash ../libtool --tag=CC --mode=compile crossbuild-build/or1ksim-0.5.0rc1/compile -DHAVE_CONFIG_H -I. -I../../../../
or1ksim-0.5.0rc1/testsuite/test-code-or1k/support -I.. -I../../../../or1ksim-0
.5.0rc1/testsuite/test-code-or1k/support -I../../../../or1ksim-0.5.0rc1/testsuit
e/test-code-or1k/mc-common -Wall -Werror -g -nostdlib -mhard-div -mhard-mul -MT
int.lo -MD -MP -MF .deps/int.Tpo -c -o int.lo ../../../../or1ksim-0.5.0rc1/test
suite/test-code-or1k/support/int.c
libtool: compile: crossbuild-build/or1ksim-0.5.0rc1/compile -DHAVE_CONFIG_H -I. -I../../../../or1ksim-0.5.0rc1/testsuite/test-code-or1k/support -I.. -I../../../../or1ksim-0.5.0rc1/testsuite/test-code-or1k/support -I../../../../or1ksim-0.5.0rc1/testsuite/test-code-or1k/mc-common -Wall -Werror -g -nostdlib -mhard-div -mhard-mul -MT int.lo -MD -MP -MF .deps/int.Tpo -c ../../../../or1ksim-0.5.0rc1/testsuite/test-code-or1k/support/int.c -fPIC -DPIC -o .libs/int.o
crossbuild-build/or1ksim-0.5.0rc1/compile: 123: -DHAVE_CONFIG_H: not found
make[4]: *** [int.lo] Error 1
make[4]: Leaving directory
crossbuild-build/build-or1ksim/testsuite/test-code-or1k/support'
make3: check-am Error 2
make3: Leaving directory `crossbuild-build/build-or1ksim/testsuite/test-code-or1k/support'
make2: check-recursive Error 1
make2: Leaving directory `crossbuild-build/build-or1ksim/testsuite/test-code-or1k'