⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glibc-2.3.3-allow-old-as-ld.patch

📁 linux下编译交叉工具链的工具源码
💻 PATCH
字号:
http://sourceware.org/ml/crossgcc/2005-03/msg00071.htmlMessage-Id: <320eba3a9987a7c7944c6ddb1ebb39bc@gmx.li>From: Martin Schaffner <schaffner at gmx dot li>Subject: Re: [Patch] crosstool w/ glibc-2.3.3 on Mac OS XDate: Sat, 12 Mar 2005 11:17:01 +0100Mac OS X 10.3.5 does not provide GNU as or GNU ld:checking version of /usr/libexec/gcc/darwin/ppc/as... 1.38, badchecking for ld... ldchecking version of ld... v. ?.??, bad...checking whether autoconf works... yesconfigure: error:*** These critical programs are missing or too old: as ld*** Check the INSTALL file for required versions.However, the Mac OS X versions of as and ld work fine, so we remove thechecks if --disable-sanity-checks was passed to the configure scriptdiff -ur g/configure glibc-2.3.3/configure--- g/configure	Tue Mar  8 21:55:02 2005+++ glibc-2.3.3/configure	Tue Mar  8 21:50:41 2005@@ -3673,6 +3673,7 @@ gnu_ld=$libc_cv_prog_ld_gnu  +if test x"$enable_sanity" = xyes; then # Accept binutils 2.13 or newer. for ac_prog in $AS do@@ -3796,6 +3797,7 @@   LD=: critic_missing="$critic_missing ld" fi +fi  # We need the physical current working directory.  We cannot use the # "pwd -P" shell builtin since that's not portable.  Instead we try todiff -ur g/configure.in glibc-2.3.3/configure.in--- g/configure.in	Tue Mar  8 21:54:56 2005+++ glibc-2.3.3/configure.in	Tue Mar  8 21:54:47 2005@@ -681,6 +681,7 @@ LIBC_PROG_BINUTILS AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in +if test x"$enable_sanity" = xyes; then # Accept binutils 2.13 or newer. AC_CHECK_PROG_VER(AS, $AS, --version, 		  [GNU assembler.* \([0-9]*\.[0-9.]*\)],@@ -688,6 +689,7 @@ AC_CHECK_PROG_VER(LD, $LD, --version, 		  [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], 		  [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")+fi  # We need the physical current working directory.  We cannot use the # "pwd -P" shell builtin since that's not portable.  Instead we try to

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -