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

📄 glibc-2.1.3-ac_cv_prog_cc_cross.patch

📁 linux下编译交叉工具链的工具源码
💻 PATCH
字号:
Lets you work around the canadian cross build error.../gcc-3.4.0-glibc-2.1.3/build-glibc/elf/sln .../gcc-3.4.0-glibc-2.1.3/build-glibc/elf/symlink.listmake[1]: *** [install-symbolic-link] Segmentation faultmake[1]: Leaving directory `.../gcc-3.4.0-glibc-2.1.3/glibc-2.1.3'make: *** [install] Error 2by setting --host != --build when running glibc-2.1.3/configureinstead of hoping that host and build aren't aliases for each otherand that running a host program on the build machine doesn't put up a dialog box or accidentally work.(cf. http://sources.redhat.com/ml/crossgcc/2002-08/msg00099.html, in which the run of conftest caused a dialog box to pop up and block the build on cygwin)--- glibc-2.1.3/configure.old	2004-05-26 19:30:45.000000000 -0700+++ glibc-2.1.3/configure	2004-05-26 19:42:29.000000000 -0700@@ -1224,7 +1224,7 @@ build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$build" 1>&6 -if test $host != $build; then+if test x$host_alias != x$build_alias; then   ac_tool_prefix=${host_alias}- else   ac_tool_prefix=@@ -1487,7 +1487,7 @@ if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then   ac_cv_prog_cc_works=yes   # If we can't run a trivial program, we are probably using a cross compiler.-  if (./conftest; exit) 2>/dev/null; then+  if test x$host_alias == x$build_alias && (./conftest; exit) 2>/dev/null; then     ac_cv_prog_cc_cross=no   else     ac_cv_prog_cc_cross=yes@@ -1566,7 +1566,7 @@ build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$build" 1>&6 -if test $host != $build; then+if test x$host_alias != x$build_alias; then   for ac_prog in gcc cc do # Extract the first word of "$ac_prog", so it can be a program name with args.

⌨️ 快捷键说明

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