Hello all.
I have previously succeeded in getting configure to
work for gcc 3.4.6. Unfortunately gcc 3.4.6 is too
buggy to use and needs to wait for Dave Pitts or
someone to fix.
gcc 3.2.3 has no known bugs for the i370 target,
but it has not been done using "configure".
I am now trying to get gcc 3.2.3 to build via configure
using the same technique I used for gcc 3.4.6.
Some differences I found so far are as follows:
I needed to define the size of short etc which I
didn't need to do with 3.4.6:
export ac_cv_func_strncmp_works=yes
export ac_cv_c_bigendian=yes
export ac_cv_c_compile_endian=big-endian
export ac_cv_sizeof_short=2
export ac_cv_sizeof_int=4
export ac_cv_sizeof_long=4
export ac_cv_c_float_format='IBM 370 hex'
And "make", after this configure:
./configure --build=x86_64-unknown-linux-gnu --host=i370-mvspdp --target=i370-mvspdp
--prefix=/devel/mvshost --enable-languages=c --disable-nls
is failing here:
make[2]: Leaving directory
`/home/users/k/ke/kerravon86/devel/gcc/x86_64-unknown
-linux-gnu/libiberty'
rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out
rm -f config.log
rmdir testsuite 2>/dev/null
make[1]: [distclean] Error 1 (ignored)
make[1]: Leaving directory
`/home/users/k/ke/kerravon86/devel/gcc/x86_64-unknown
-linux-gnu/libiberty'
loading cache ../config.cache
configure: error: can not find install-sh or install.sh in ./.. ././..
make: *** [configure-build-libiberty] Error 1
The file in question seems to exist:
~/devel/gcc>find . -name install-sh
./boehm-gc/install-sh
./install-sh
./fastjar/install-sh
~/devel/gcc>find . -name install.sh
~/devel/gcc>
and is executable.
Any suggestions?
Thanks. Paul.