From: Jan-Benedict G. <jb...@us...> - 2005-12-30 21:01:13
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6830 Modified Files: build_toolchain.sh Log Message: - --disable-nls for binutils. This is actually a workaround, because the ./configure scripts initially recognize that there's all needed internationalization support in libintl (thus -lintl is needed), but once they find out that xgettext isn't GNU xgettext, -lintl is dropped again resulting in link errors on Solaris. This detection is done in a custom m4 macro file (that language is surely incompatible with me...) and I've sent an email on this to the binutils mailing list (see http://sourceware.org/ml/binutils/2005-12/msg00280.html). Another workaround is to call ./configure with the XGETTEXT variable set (with fill path) to the gxgettext binary (once the matching freeware package is installed). Index: build_toolchain.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- build_toolchain.sh 28 Dec 2005 16:48:59 -0000 1.48 +++ build_toolchain.sh 30 Dec 2005 21:00:59 -0000 1.49 @@ -492,6 +492,7 @@ # Configure execute "${BINUTILS_SRC}/configure" \ --target="${TARGET}" \ + --disable-nls \ --prefix="${INSTALL_BASE}/usr" \ ${WERROR} @@ -690,6 +691,7 @@ execute "${BINUTILS_SRC}/configure" \ --host="${TARGET}" \ --build="`${BINUTILS_SRC}/config.guess`" \ + --disable-nls \ --target="${TARGET}" --prefix=/usr ${WERROR} # Build |