亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? crosstool-0.34-nptl.patch

?? linux下編譯交叉工具鏈的工具源碼
?? PATCH
?? 第 1 頁 / 共 3 頁
字號:
diff -urN crosstool-0.34/crosstool.sh crosstool-0.34-nptl/crosstool.sh--- crosstool-0.34/crosstool.sh	2005-05-04 17:31:12.000000000 -0500+++ crosstool-0.34-nptl/crosstool.sh	2005-05-20 19:37:02.000000000 -0500@@ -55,23 +55,28 @@ BUILD=${GCC_BUILD-`$TOP_DIR/config.guess`}  if test -z "${GLIBC_ADDON_OPTIONS}"; then-   echo "GLIBC_ADDON_OPTIONS not set, so guessing addons from GLIBCTHREADS_FILENAME and GLIBCCRYPT_FILENAME"-   # this is lame, need to fix this for nptl later?-   # (nptl is an addon, but it's shipped in the main tarball)+   echo "GLIBC_ADDON_OPTIONS not set"    GLIBC_ADDON_OPTIONS="="-   case "${GLIBCTHREADS_FILENAME}" in-     *linuxthreads*) GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads," ;;-   esac+   if test '!' -z ${GLIBC_ADDON_LINUXTHREADS}; then+       GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads,"+   elif test '!' -z ${GLIBC_ADDON_NPTL}; then+       GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}nptl,"+   fi    # crypt is only an addon for glibc-2.1.x    test -z "${GLIBCCRYPT_FILENAME}"   || GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}crypt," fi +if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    GLIBC_EXTRA_CONFIG="--with-tls --with-__thread ${GLIBC_EXTRA_CONFIG}"+    GLIBC_MIN_KERNEL=2.6.4+else+    GLIBC_EXTRA_CONFIG="--without-tls --without-__thread ${GLIBC_EXTRA_CONFIG}"+    GLIBC_MIN_KERNEL=2.4.3+fi+ # One is forbidden test -z "${LD_LIBRARY_PATH}" || abort  "glibc refuses to build if LD_LIBRARY_PATH is set.  Please unset it before running this script." -# And one is derived.-GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'`- # Check for a few prerequisites that have tripped people up. awk '/x/' < /dev/null  || abort "You need awk to build a toolchain." test -z "${CFLAGS}"    || abort "Don't set CFLAGS, it screws up the build"@@ -316,7 +321,7 @@         # Another workaround might be to tell configure to not use any cross options to $(CC).         # The real fix would be to get install-headers to not generate errlist-compat.c.         libc_cv_ppc_machine=yes \-                make sysdeps/gnu/errlist.c+                make CFLAGS=-DBOOTSTRAP_GCC sysdeps/gnu/errlist.c         mkdir -p stdio-common         # sleep for 2 seconds for benefit of filesystems with lousy time resolution, like FAT,         # so make knows for sure errlist-compat.c doesn't need generating@@ -324,7 +329,7 @@         touch stdio-common/errlist-compat.c     fi     libc_cv_ppc_machine=yes \-    make cross-compiling=yes install_root=${SYSROOT} $GLIBC_SYSROOT_ARG install-headers+    make cross-compiling=yes install_root=${SYSROOT} CFLAGS=-DBOOTSTRAP_GCC $GLIBC_SYSROOT_ARG install-headers      # Two headers -- stubs.h and features.h -- aren't installed by install-headers,     # so do them by hand.  We can tolerate an empty stubs.h for the moment.@@ -338,13 +343,36 @@     # http://sources.redhat.com/ml/libc-alpha/2003-11/msg00045.html     cp bits/stdio_lim.h $HEADERDIR/bits/stdio_lim.h +    if test '!' -z "${GLIBC_ADDON_NPTL}"; then +        # To build gcc with thread support requires real pthread headers. These+        # will have to manually be copied from under the tree of the desired+        # target pthread implementation.+        cp ${GLIBC_DIR}/nptl/sysdeps/pthread/pthread.h $HEADERDIR/pthread.h+        cp ${GLIBC_DIR}/nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h $HEADERDIR/bits/pthreadtypes.h++        # On s390, powerpc and sparc we also require bits/wordsize.h.+        case $TARGET in+        sparc* | s390* | powerpc* )+            case $TARGET in+            sparc64* )   wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h ;;+            sparc* )     wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h ;;+            s390x* )     wordsize_h=sysdeps/s390/s390x/bits/wordsize.h ;;+            s390* )      wordsize_h=sysdeps/s390/s390/bits/wordsize.h ;;+            powerpc64* ) wordsize_h=sysdeps/powerpc/powerpc64/bits/wordsize.h ;;+            powerpc* )   wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h ;;+            esac+            test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h+	    ;;+	esac+    fi # GLIBC_ADDONS_NPTL+     cd .. fi  #----------------------------------------------------------echo "Build gcc-core (just enough to build glibc)"+echo "Build gcc-core w/o shared libgcc (just enough to build glibc starfiles)" -mkdir -p build-gcc-core; cd build-gcc-core+mkdir -p build-gcc-core-static; cd build-gcc-core-static  # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532) @@ -371,8 +399,122 @@  test -x ${PREFIX}/bin/${TARGET}-gcc${EXEEXT} || abort Build failed during gcc-core  +# Following extra steps required for building an NPTL enabled glibc.+if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    #---------------------------------------------------------+    echo "Build glibc startfiles (required for shared libgcc)"++    mkdir -p build-glibc-startfiles; cd build-glibc-startfiles++    # sh4 really needs to set configparms as of gcc-3.4/glibc-2.3.2+    # note: this is awkward, doesn't work well if you need more than one line in configparms+    echo ${GLIBC_CONFIGPARMS} > configparms++    echo "libc_cv_forced_unwind=yes" > config.cache+    echo "libc_cv_c_cleanup=yes" >> config.cache+    # this here is moot, currently you cannot build nptl for sparc64+    case ${TARGET} in+        sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;;+    esac++    if test '!' -f Makefile; then+        # Configure with --prefix the way we want it on the target...+        # There are a whole lot of settings here.  You'll probably want+        # to read up on what they all mean, and customize a bit.+        # e.g. I picked --enable-kernel=2.4.3 here just because it's the kernel Bill +        # used in his example gcc2.95.3 script.  That means some backwards compatibility +        # stuff is turned on in glibc that you may not need if you're using a newer kernel.+        # Compare these options with the ones used when installing the glibc headers above - they're different.+        # Adding "--without-gd" option to avoid error "memusagestat.c:36:16: gd.h: No such file or directory" +        # See also http://sources.redhat.com/ml/libc-alpha/2000-07/msg00024.html. +        # Set BUILD_CC, or you won't be able to build datafiles+        # Set --build, else glibc-2.3.2 will think you're not cross-compiling, and try to run the test programs++        BUILD_CC=gcc CFLAGS="$TARGET_CFLAGS" CC="${TARGET}-gcc $GLIBC_EXTRA_CC_ARGS" \+        AR=${TARGET}-ar RANLIB=${TARGET}-ranlib \+            ${GLIBC_DIR}/configure --prefix=/usr \+	    --build=$BUILD --host=$TARGET \+            ${GLIBC_EXTRA_CONFIG} \+            --enable-kernel=${GLIBC_MIN_KERNEL} \+            --without-cvs --disable-profile --disable-debug --without-gd \+            $SHARED_MODE \+            --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \+            --cache-file=config.cache+    fi++    #TODO: should check whether slibdir has been set in configparms to */lib64+    #      and copy the startfiles into the appropriate libdir.+    make csu/subdir_lib+    +    test -z "${USE_SYSROOT}" &&+    cp -fp csu/crt[1in].o ${SYSROOT}/lib/ ||+    cp -fp csu/crt[1in].o ${SYSROOT}/usr/lib/ ++    cd ..++    #---------------------------------------------------------+    echo "Build gcc-core w shared libgcc"++    mkdir -p build-gcc-core-shared; cd build-gcc-core-shared++    # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)++    if test '!' -f Makefile; then+        ${GCC_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX \+	    --with-local-prefix=${SYSROOT} \+	    --disable-multilib \+            ${GCC_EXTRA_CONFIG} \+	    ${GCC_SYSROOT_ARG_CORE} \+	    --disable-nls \+	    --enable-symvers=gnu \+	    --enable-__cxa_atexit \+            --enable-languages=c \+            --enable-shared+    fi++    # HACK: we need to override SHLIB_LC from gcc/config/t-slibgcc-elf-ver or+    #       gcc/config/t-libunwind so -lc is removed from the link for +    #       libgcc_s.so, as we do not have a target -lc yet.+    #       This is not as ugly as it appears to be ;-) All symbols get resolved+    #       during the glibc build, and we provide a proper libgcc_s.so for the+    #       cross toolchain during the final gcc build.+    #+    #       As we cannot modify the source tree, nor override SHLIB_LC itself+    #       during configure or make, we have to edit the resultant +    #       gcc/libgcc.mk itself to remove -lc from the link.+    #       This causes us to have to jump through some hoops...+    #+    #       To produce libgcc.mk to edit we firstly require libiberty.a,+    #       so we configure then build it.+    #       Next we have to configure gcc, create libgcc.mk then edit it...+    #       So much easier if we just edit the source tree, but hey...+    if test '!' -f ${GCC_DIR}/gcc/BASE-VER; then+        make configure-libiberty+        make -C libiberty libiberty.a+        make configure-gcc+    else+        make configure-gcc+	make configure-libcpp+	make configure-build-libiberty+	make all-libcpp+	make all-build-libiberty+    fi+    make -C gcc libgcc.mk++    if test '!' -f gcc/libgcc.mk-ORIG ; then cp -p gcc/libgcc.mk gcc/libgcc.mk-ORIG; fi+    sed 's@-lc@@g' < gcc/libgcc.mk-ORIG > gcc/libgcc.mk++    test "$CANADIAN_BUILD" = "" || make $PARALLELMFLAGS all-build-libiberty || true+    make $PARALLELMFLAGS all-gcc +    make install-gcc++    cd ..++    test -x ${PREFIX}/bin/${TARGET}-gcc || abort Build failed during gcc-core ++fi # GLIBC_ADDON_NPTL #----------------------------------------------------------echo Build glibc and linuxthreads+echo Build glibc  mkdir -p build-glibc; cd build-glibc @@ -380,6 +522,16 @@ # note: this is awkward, doesn't work well if you need more than one line in configparms echo ${GLIBC_CONFIGPARMS} > configparms +if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    # Following configure tests fail while cross-compiling+    echo "libc_cv_forced_unwind=yes" > config.cache+    echo "libc_cv_c_cleanup=yes" >> config.cache+    # The following is moot, currently you cannot build nptl for sparc64+    case ${TARGET} in+        sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;;+    esac+fi # GLIBC_ADDON_NPTL+ if test '!' -f Makefile; then     # Configure with --prefix the way we want it on the target...     # There are a whole lot of settings here.  You'll probably want@@ -398,11 +550,11 @@         ${GLIBC_DIR}/configure --prefix=/usr \         --build=$BUILD --host=$TARGET \         ${GLIBC_EXTRA_CONFIG} \-        --enable-kernel=2.4.3 \+        --enable-kernel=${GLIBC_MIN_KERNEL} \         --without-cvs --disable-profile --disable-debug --without-gd \-        --without-tls --without-__thread \         $SHARED_MODE \-        --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR+        --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \+	--cache-file=config.cache fi  if grep -l '^install-lib-all:' ${GLIBC_DIR}/Makerules > /dev/null; thendiff -urN crosstool-0.34/demo-alpha-nptl.sh crosstool-0.34-nptl/demo-alpha-nptl.sh--- crosstool-0.34/demo-alpha-nptl.sh	1969-12-31 18:00:00.000000000 -0600+++ crosstool-0.34-nptl/demo-alpha-nptl.sh	2005-05-20 19:24:20.000000000 -0500@@ -0,0 +1,19 @@+#!/bin/sh+set -ex+TARBALLS_DIR=$HOME/downloads+RESULT_TOP=/opt/crosstool+export TARBALLS_DIR RESULT_TOP+GCC_LANGUAGES="c,c++"+export GCC_LANGUAGES

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成伊人成综合网小说| 激情综合五月婷婷| 久久福利视频一区二区| 成人动漫一区二区| 91麻豆精品国产91久久久久久久久 | 国产成人日日夜夜| 成人黄色网址在线观看| 欧美一区二区三区四区五区| 亚洲视频一区在线观看| 国产精品一二三四五| 91亚洲男人天堂| 中文欧美字幕免费| 韩国中文字幕2020精品| 日韩视频在线观看一区二区| 最新欧美精品一区二区三区| 国产乱妇无码大片在线观看| 欧美变态tickling挠脚心| 视频在线观看国产精品| 欧美日韩免费观看一区二区三区| 久久综合色一综合色88| 日韩不卡手机在线v区| 欧美人妇做爰xxxⅹ性高电影| 中文字幕在线一区免费| 处破女av一区二区| 国产片一区二区三区| 国产一区高清在线| 久久五月婷婷丁香社区| 国产一区不卡视频| 亚洲国产精品精华液2区45| 国产一区二区三区av电影| 精品99999| 顶级嫩模精品视频在线看| 国产欧美精品一区| 国产成人免费视频精品含羞草妖精| 91精品国产手机| 精品一区二区三区欧美| 久久九九久久九九| 成人97人人超碰人人99| 国产精品午夜电影| 成人美女在线观看| 亚洲毛片av在线| 欧美视频一区在线观看| 午夜在线电影亚洲一区| 日韩欧美国产1| 国产精品18久久久久久久久| 国产精品久久久一区麻豆最新章节| 懂色av噜噜一区二区三区av| 亚洲欧洲精品天堂一级| 欧美日韩国产影片| 狠狠色狠狠色综合系列| 中文字幕欧美三区| 在线观看区一区二| 韩国女主播一区二区三区| 久久精品男人天堂av| 99re热这里只有精品视频| 亚洲国产一二三| 2021中文字幕一区亚洲| 91在线丨porny丨国产| 亚洲成av人影院在线观看网| 欧美哺乳videos| 91亚洲国产成人精品一区二三| 亚洲另类在线视频| 欧美一卡二卡三卡| a在线欧美一区| 亚洲第一福利一区| 国产欧美一区二区在线观看| 91免费观看视频在线| 奇米影视在线99精品| 国产精品乱人伦一区二区| 91精品国产综合久久婷婷香蕉 | 免费xxxx性欧美18vr| 久久久久99精品国产片| 欧美偷拍一区二区| 国内不卡的二区三区中文字幕 | 欧美日韩综合一区| 国内外成人在线| 一区二区国产视频| 精品动漫一区二区三区在线观看| 国产成人一级电影| 婷婷久久综合九色综合绿巨人| 666欧美在线视频| 99在线热播精品免费| 国内精品自线一区二区三区视频| 国产精品不卡一区| 精品电影一区二区| 3d动漫精品啪啪| 欧美主播一区二区三区美女| 国产成人av电影| 久久99精品网久久| 亚洲成av人片在线观看无码| 亚洲欧洲国产专区| 国产精品狼人久久影院观看方式| 在线电影一区二区三区| 91麻豆免费看| 97国产精品videossex| 国产麻豆成人精品| 精品亚洲成a人| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品福利一区二区三区| 久久综合成人精品亚洲另类欧美| 欧美日韩国产影片| 欧美视频完全免费看| av在线播放不卡| av电影在线观看不卡| 丁香网亚洲国际| 成人午夜私人影院| 国产成人精品免费在线| 国产精品一区久久久久| 精品综合免费视频观看| 免费在线观看一区二区三区| 午夜欧美2019年伦理 | 精品福利视频一区二区三区| 3751色影院一区二区三区| 欧美午夜精品久久久久久孕妇| 成人听书哪个软件好| 国产91丝袜在线观看| 成人永久看片免费视频天堂| 国产精品一区二区在线观看不卡| 九九视频精品免费| 韩国av一区二区三区| 国产91精品入口| 成人黄色av网站在线| 91在线视频在线| 欧美天堂一区二区三区| 日韩亚洲欧美中文三级| 精品国产区一区| 国产欧美一区二区三区沐欲| 国产色爱av资源综合区| 中文字幕在线一区二区三区| 亚洲激情在线激情| 午夜伦欧美伦电影理论片| 免费一级欧美片在线观看| 国模娜娜一区二区三区| 成人精品亚洲人成在线| 色天天综合色天天久久| 欧美一区二区三区在线观看 | 欧美精品一区二区三| 国产无人区一区二区三区| 国产精品久久久久久一区二区三区| 日本一区二区综合亚洲| 日韩一区日韩二区| 亚洲国产视频a| 麻豆freexxxx性91精品| 懂色中文一区二区在线播放| 日本电影欧美片| 欧美日韩日本视频| 久久精品亚洲麻豆av一区二区| 国产亚洲欧美日韩日本| 亚洲九九爱视频| 精品一区二区三区在线观看国产| 粉嫩aⅴ一区二区三区四区五区| 91在线精品一区二区三区| 欧美日韩三级一区二区| 国产日韩视频一区二区三区| ...av二区三区久久精品| 蜜桃视频在线观看一区二区| 99精品在线观看视频| 欧美电视剧免费观看| 亚洲黄色录像片| 国产在线国偷精品产拍免费yy| 99久久综合精品| 日韩美女主播在线视频一区二区三区 | 成人免费小视频| 蜜乳av一区二区三区| 波多野结衣精品在线| 日韩欧美亚洲另类制服综合在线| 久久综合丝袜日本网| 午夜伊人狠狠久久| 97久久超碰精品国产| 久久久久国产精品免费免费搜索| 中文字幕一区二区三区不卡在线| 天天av天天翘天天综合网| 成人午夜免费视频| 亚洲精品一区二区在线观看| 亚洲综合一区在线| 不卡免费追剧大全电视剧网站| 欧美精品色综合| 亚洲资源中文字幕| 一本高清dvd不卡在线观看| 久久久影视传媒| 麻豆精品久久久| 欧美精品一卡两卡| 一区二区久久久久| 91首页免费视频| 日本一二三不卡| 成人免费视频免费观看| 久久久欧美精品sm网站| 精品一区二区三区影院在线午夜| 欧美性高清videossexo| 亚洲欧洲综合另类| www.日本不卡| 国产精品伦一区二区三级视频| 精品中文字幕一区二区小辣椒| 欧美日韩和欧美的一区二区| 一区二区三区在线视频播放| 色综合天天做天天爱| 亚洲欧洲综合另类| 欧美日韩中文字幕一区| 亚洲v中文字幕| 正在播放亚洲一区|