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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? crosstool-0.30-nptl-fixes.patch

?? linux下編譯交叉工具鏈的工具源碼
?? PATCH
?? 第 1 頁 / 共 3 頁
字號:
diff -urN crosstool-0.30/crosstool.sh crosstool-0.30-nptl-fixes/crosstool.sh--- crosstool-0.30/crosstool.sh	2005-03-24 01:13:14.000000000 -0600+++ crosstool-0.30-nptl-fixes/crosstool.sh	2005-04-02 17:35:44.791544189 -0600@@ -48,23 +48,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"@@ -321,13 +326,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) @@ -354,8 +382,114 @@  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...+    make configure-libiberty+    make -C libiberty libiberty.a+    make configure-gcc+    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 @@ -363,6 +497,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@@ -381,11 +525,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.30/demo-alpha-nptl.sh crosstool-0.30-nptl-fixes/demo-alpha-nptl.sh--- crosstool-0.30/demo-alpha-nptl.sh	1969-12-31 18:00:00.000000000 -0600+++ crosstool-0.30-nptl-fixes/demo-alpha-nptl.sh	2005-04-02 17:05:00.935622160 -0600@@ -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++GLIBC_ADDON_NPTL=1+export GLIBC_ADDON_NPTL=1++# Really, you should do the mkdir before running this,+# and chown /opt/crosstool to yourself so you don't need to run as root.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品第四页| 麻豆91精品91久久久的内涵| 日韩和欧美一区二区三区| 国产精品一线二线三线精华| 在线亚洲人成电影网站色www| 日韩欧美一区二区视频| 一区二区免费在线播放| 国产精品白丝jk黑袜喷水| 欧美日韩你懂得| 亚洲欧美日韩久久精品| 成人综合婷婷国产精品久久蜜臀| 欧美精品tushy高清| 亚洲日本中文字幕区| 国产一区日韩二区欧美三区| 欧美高清你懂得| 亚洲精品免费视频| 不卡一区在线观看| 久久婷婷综合激情| 精彩视频一区二区三区| 欧美精三区欧美精三区| 亚洲一二三区视频在线观看| av在线播放成人| 中文字幕在线一区| 国产成人午夜视频| 久久精品一区二区三区不卡牛牛| 经典三级一区二区| 日韩女优制服丝袜电影| 午夜久久福利影院| 在线亚洲免费视频| 亚洲美女淫视频| 色婷婷精品大在线视频| 亚洲人成亚洲人成在线观看图片 | 国产亚洲福利社区一区| 免费三级欧美电影| 日韩欧美国产不卡| 狠狠色丁香婷婷综合| 久久久久综合网| 国产剧情一区在线| 国产精品区一区二区三| eeuss影院一区二区三区 | 亚洲国产精品一区二区久久| 欧美专区在线观看一区| 一区二区三区影院| 欧美日韩国产一级片| 五月天视频一区| 欧美一个色资源| 国产激情一区二区三区桃花岛亚洲| 欧美国产综合色视频| 北条麻妃国产九九精品视频| 亚洲激情自拍偷拍| 日韩你懂的在线观看| 国产老女人精品毛片久久| 国产精品国产精品国产专区不蜜| 91麻豆国产自产在线观看| 一个色妞综合视频在线观看| 51精品国自产在线| 国产精品一区二区在线观看网站| 国产精品无遮挡| 欧美日韩一卡二卡| 极品少妇xxxx精品少妇| 亚洲三级在线免费观看| 欧美片网站yy| 国产黑丝在线一区二区三区| 亚洲色图.com| 日韩欧美卡一卡二| 成人app在线观看| 亚洲成a人片综合在线| 久久精品夜夜夜夜久久| 欧洲精品一区二区三区在线观看| 美女精品自拍一二三四| 中文字幕一区二区视频| 777久久久精品| 成人影视亚洲图片在线| 日韩黄色小视频| 亚洲桃色在线一区| 久久久电影一区二区三区| 一本色道a无线码一区v| 激情五月激情综合网| 亚洲国产综合色| 国产日韩精品一区| 91精品国产一区二区| 成人短视频下载| 久久99精品国产麻豆婷婷洗澡| 亚洲激情图片一区| 中文字幕高清一区| 日韩一区二区高清| 91黄色免费看| 成人免费看视频| 久久国产精品99精品国产| 亚洲一区二区三区视频在线播放| 中文字幕第一页久久| 日韩欧美激情在线| 欧美日韩美少妇| 色综合欧美在线| 99久久精品国产网站| 国产一区二区三区蝌蚪| 免费在线成人网| 免费久久99精品国产| 偷窥少妇高潮呻吟av久久免费| 成人免费在线播放视频| 亚洲精品一区二区三区精华液| 欧美日韩国产一级片| 欧美亚日韩国产aⅴ精品中极品| 成人99免费视频| 成人免费的视频| 国产成人午夜精品影院观看视频| 韩国精品免费视频| 久久99深爱久久99精品| 麻豆国产一区二区| 青草av.久久免费一区| 日韩经典一区二区| 丝袜美腿成人在线| 日韩精品电影在线观看| 日韩精品五月天| 日韩影院精彩在线| 美国毛片一区二区| 美女被吸乳得到大胸91| 久久精品国产成人一区二区三区 | 日韩中文字幕区一区有砖一区 | 夜夜操天天操亚洲| 亚洲自拍偷拍图区| 亚洲大尺度视频在线观看| 亚洲五码中文字幕| 日本aⅴ免费视频一区二区三区| 婷婷国产在线综合| 日本成人在线电影网| 美女尤物国产一区| 国产不卡视频一区二区三区| 99精品黄色片免费大全| 91蜜桃传媒精品久久久一区二区| 91网页版在线| 欧美午夜影院一区| 91精品在线免费| 精品电影一区二区| 中文天堂在线一区| 一区二区不卡在线播放 | 欧美精品一区二区三区蜜桃视频 | 欧美嫩在线观看| 精品久久久久久久久久久久包黑料| 久久亚洲综合av| 亚洲欧美日韩国产综合在线| 五月激情综合色| 国产一区二区美女诱惑| av中文字幕亚洲| 欧美一区国产二区| 国产亚洲福利社区一区| 一区二区三区免费| 另类小说图片综合网| 成人激情开心网| 欧美日韩一区二区电影| 久久综合狠狠综合| 一区二区在线看| 久久成人综合网| 91丨porny丨中文| 日韩三级av在线播放| 国产精品美女久久福利网站| 亚洲电影第三页| 成人小视频免费在线观看| 欧美日韩综合在线免费观看| 2023国产精品| 亚洲一区中文日韩| 国产成人av一区二区三区在线观看| 欧美自拍偷拍一区| 国产丝袜在线精品| 午夜精品久久一牛影视| 成人理论电影网| 欧美一区二区三级| 亚洲免费色视频| 国产精品亚洲人在线观看| 欧美理论在线播放| 国产精品久久综合| 久久99久久久久| 欧美日韩一区二区三区高清 | 久久综合网色—综合色88| 亚洲精品精品亚洲| 国产美女一区二区三区| 这里是久久伊人| 亚洲精品视频一区| 国产在线不卡视频| 91精品久久久久久久91蜜桃 | 欧美三区在线观看| 欧美激情综合五月色丁香小说| 免费在线欧美视频| 欧美日韩一本到| 樱花影视一区二区| 成人av电影在线| 国产日韩欧美精品在线| 黄色资源网久久资源365| 在线播放91灌醉迷j高跟美女 | 欧美三级一区二区| 日韩一区在线看| 91色综合久久久久婷婷| 国产精品毛片大码女人 | 精品中文字幕一区二区小辣椒| 欧美日韩免费不卡视频一区二区三区 | 风流少妇一区二区| 久久久久亚洲蜜桃| 久久99精品国产麻豆婷婷| 欧美电视剧在线看免费| 免费高清成人在线|