[gccsdk] Building GCC4 in Cygwin

Peter Naulls peter at chocky.org
Thu Jan 31 14:39:04 PST 2008

Adam wrote:
>   c/cross/bin"
>     /bin/sh ./libtool --mode=install /usr/bin/install -c 'sul' '/home/adamr/gccsdk
>   /gcc/cross/bin/arm-unknown-riscos-sul'
>   libtool: ltconfig version `' does not match ltmain.sh version `1.4a-GCC3.0'
>   Fatal configuration error.  See the libtool docs for more information.
>   make[4]: *** [install-binPROGRAMS] Error 1
>   make[4]: Leaving directory `/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-ri
>   scos/libunixlib'
>   make[3]: *** [install-am] Error 2
>   make[3]: Leaving directory `/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-ri
>   scos/libunixlib'
>   make[2]: *** [install-recursive] Error 1
>   make[2]: Leaving directory `/home/adamr/gccsdk/gcc/builddir-cross/arm-unknown-ri
>   scos/libunixlib'
>   make[1]: *** [install-target-libunixlib] Error 2
>   make[1]: Leaving directory `/home/adamr/gccsdk/gcc/builddir-cross'
>   make: *** [install] Error 2
> I wonder if this is because I've not got all the dependencies for libtool.
> Perhaps using Alan's trick (export WANT_AUTOMAKE=1.9) will allow me to
> satisfy libtool. I'll try it out next time I do the whole build process.

Make sure you set the variable mentioned at the top of the README and
run the make install again.   I'm working on a script which does
everything, but that won't be ready for a couple of days.

More information about the gcc mailing list