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

📄 gcc-3.2.3-libffi-1.patch

📁 linux下编译交叉工具链的工具源码
💻 PATCH
📖 第 1 页 / 共 5 页
字号:
+fi+++if test x$TARGET = xX86_64; then+  X86_64_TRUE=+  X86_64_FALSE='#'+else+  X86_64_TRUE='#'+  X86_64_FALSE=+fi+++if test x$TARGET = xSH; then+  SH_TRUE=+  SH_FALSE='#'+else+  SH_TRUE='#'+  SH_FALSE=+fi++if test x$TARGET = xMIPS_LINUX; then+  TARGET=MIPS+fi+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6-echo "configure:2512: checking how to run the C preprocessor" >&5+echo "configure:2625: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then   CPP=@@ -2523,13 +2636,13 @@   # On the NeXT, cc -E runs the code through the compiler's parser,   # not just through cpp.   cat > conftest.$ac_ext <<EOF-#line 2527 "configure"+#line 2640 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"-{ (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+{ (eval echo configure:2646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then   :@@ -2540,13 +2653,13 @@   rm -rf conftest*   CPP="${CC-cc} -E -traditional-cpp"   cat > conftest.$ac_ext <<EOF-#line 2544 "configure"+#line 2657 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"-{ (eval echo configure:2550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+{ (eval echo configure:2663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then   :@@ -2557,13 +2670,13 @@   rm -rf conftest*   CPP="${CC-cc} -nologo -E"   cat > conftest.$ac_ext <<EOF-#line 2561 "configure"+#line 2674 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"-{ (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+{ (eval echo configure:2680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then   :@@ -2588,12 +2701,12 @@ echo "$ac_t""$CPP" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6-echo "configure:2592: checking for ANSI C header files" >&5+echo "configure:2705: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2597 "configure"+#line 2710 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h>@@ -2601,7 +2714,7 @@ #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"-{ (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+{ (eval echo configure:2718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then   rm -rf conftest*@@ -2618,7 +2731,7 @@ if test $ac_cv_header_stdc = yes; then   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF-#line 2622 "configure"+#line 2735 "configure" #include "confdefs.h" #include <string.h> EOF@@ -2636,7 +2749,7 @@ if test $ac_cv_header_stdc = yes; then   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF-#line 2640 "configure"+#line 2753 "configure" #include "confdefs.h" #include <stdlib.h> EOF@@ -2657,7 +2770,7 @@   : else   cat > conftest.$ac_ext <<EOF-#line 2661 "configure"+#line 2774 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')@@ -2668,7 +2781,7 @@ exit (0); }  EOF-if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null+if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then   : else@@ -2694,12 +2807,12 @@ for ac_func in memcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6-echo "configure:2698: checking for $ac_func" >&5+echo "configure:2811: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2703 "configure"+#line 2816 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes,     which can conflict with char $ac_func(); below.  */@@ -2722,7 +2835,7 @@  ; return 0; } EOF-if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then   rm -rf conftest*   eval "ac_cv_func_$ac_func=yes" else@@ -2749,19 +2862,19 @@ # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments.  Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6-echo "configure:2753: checking for working alloca.h" >&5+echo "configure:2866: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2758 "configure"+#line 2871 "configure" #include "confdefs.h" #include <alloca.h> int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF-if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then   rm -rf conftest*   ac_cv_header_alloca_h=yes else@@ -2782,12 +2895,12 @@ fi  echo $ac_n "checking for alloca""... $ac_c" 1>&6-echo "configure:2786: checking for alloca" >&5+echo "configure:2899: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2791 "configure"+#line 2904 "configure" #include "confdefs.h"  #ifdef __GNUC__@@ -2815,7 +2928,7 @@ char *p = (char *) alloca(1); ; return 0; } EOF-if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then   rm -rf conftest*   ac_cv_func_alloca_works=yes else@@ -2847,12 +2960,12 @@   echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6-echo "configure:2851: checking whether alloca needs Cray hooks" >&5+echo "configure:2964: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2856 "configure"+#line 2969 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray@@ -2877,12 +2990,12 @@ if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6-echo "configure:2881: checking for $ac_func" >&5+echo "configure:2994: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   cat > conftest.$ac_ext <<EOF-#line 2886 "configure"+#line 2999 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes,     which can conflict with char $ac_func(); below.  */@@ -2905,7 +3018,7 @@  ; return 0; } EOF-if { (eval echo configure:2909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then   rm -rf conftest*   eval "ac_cv_func_$ac_func=yes" else@@ -2932,7 +3045,7 @@ fi  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6-echo "configure:2936: checking stack direction for C alloca" >&5+echo "configure:3049: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else@@ -2940,7 +3053,7 @@   ac_cv_c_stack_direction=0 else   cat > conftest.$ac_ext <<EOF-#line 2944 "configure"+#line 3057 "configure" #include "confdefs.h" find_stack_direction () {@@ -2959,7 +3072,7 @@   exit (find_stack_direction() < 0); } EOF-if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null+if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then   ac_cv_c_stack_direction=1 else@@ -2982,13 +3095,13 @@   echo $ac_n "checking size of short""... $ac_c" 1>&6-echo "configure:2986: checking size of short" >&5+echo "configure:3099: checking size of short" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.   cat > conftest.$ac_ext <<EOF-#line 2992 "configure"+#line 3105 "configure" #include "confdefs.h" #include "confdefs.h" #include <sys/types.h>@@ -2998,7 +3111,7 @@ switch (0) case 0: case (sizeof (short) == $ac_size):; ; return 0; } EOF-if { (eval echo configure:3002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then+if { (eval echo configure:3115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then   rm -rf conftest*   ac_cv_sizeof_short=$ac_size else@@ -3021,13 +3134,13 @@   echo $ac_n "checking size of int""... $ac_c" 1>&6-echo "configure:3025: checking size of int" >&5+echo "configure:3138: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6 else   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.   cat > conftest.$ac_ext <<EOF-#line 3031 "configure"+#line 3144 "configure" #include "confdefs.h" #include "confdefs.h" #include <sys/types.h>@@ -3037,7 +3150,7 @@ switch (0) case 0: case (sizeof (int) == $ac_size):; ; return 0; } EOF-if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then+if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then   rm -rf conftest*   ac_cv_sizeof_int=$ac_size else@@ -3060,13 +3173,13 @@   echo $ac_n "checking size of long""... $ac_c" 1>&6-echo "configure:3064: checking size of long" >&5+echo "configure:3177: checking size of long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then   echo $ac_n "(cached) $ac_c" 1>&6

⌨️ 快捷键说明

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