Changeset 11fbfa9
- Timestamp:
- Feb 21, 2006, 2:07:27 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- bc4ea88
- Parents:
- ec749f6
- Location:
- scripts
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/scripts/build-cross.sh
rec749f6 r11fbfa9 90 90 } 91 91 92 test "Y" = "${MULTIARCH}" && 93 { 94 script_list="${script_list} 92 script_list="${script_list} 95 93 cross-binutils.sh 96 94 cross-glibc-hdrs.sh 97 cross-gcc-static.sh 95 cross-gcc-static.sh" 96 97 if [ ! "Y" = "${NO_GCC_EH}" ]; then 98 if [ "Y" = "${MULTIARCH}" ]; then 99 script_list="${script_list} 98 100 cross-glibc-crtobjs-32.sh 99 101 cross-glibc-crtobjs-64.sh 100 102 cross-gcc-shared.sh" 103 else 104 script_list="${script_list} 105 cross-glibc-crtobjs.sh 106 cross-gcc-shared.sh" 107 fi 108 fi 101 109 102 test "N" = "${DEFAULT_64}" && 103 { 110 111 if [ "Y" = "${MULTIARCH}" ]; then 112 if [ "N" = "${DEFAULT_64}" ]; then 104 113 script_list="${script_list} 105 114 cross-glibc-full-64.sh 106 115 cross-glibc-full-32.sh 107 116 cross-gcc-final.sh" 108 } || {117 else 109 118 script_list="${script_list} 110 119 cross-glibc-full-32.sh 111 120 cross-glibc-full-64.sh 112 121 cross-gcc-final.sh" 113 } 114 115 } || { 122 fi 123 else 116 124 script_list="${script_list} 117 cross-binutils.sh118 cross-glibc-hdrs.sh119 cross-gcc-static.sh120 cross-glibc-crtobjs.sh121 cross-gcc-shared.sh122 125 cross-glibc-full.sh 123 126 cross-gcc-final.sh" 124 } 127 fi 125 128 126 129 SCRIPTLIST=`echo "${script_list}" | \ -
scripts/scripts/cross-scripts/cross-glibc-full.sh
rec749f6 r11fbfa9 84 84 apply_glibc_patches 85 85 86 86 87 # HACK: nptl for sparc64 wont build 87 88 case ${TGT_ARCH} in … … 90 91 ;; 91 92 esac 93 94 if [ "Y" = "${NO_GCC_EH}" ]; then 95 cd ${SRC}/${PKGDIR} 96 if [ ! -f Makeconfig-ORIG ]; then cp -p Makeconfig Makeconfig-ORIG ; fi 97 sed 's/-lgcc_eh//g' Makeconfig-ORIG > Makeconfig 98 fi 92 99 93 100 if [ "Y" = "${USE_NPTL}" ]; then -
scripts/scripts/funcs/glibc-funcs.sh
rec749f6 r11fbfa9 25 25 echo " o compiling with gcc 4.x" 26 26 case ${target_glibc_ver} in 27 2.3.[6-9]* | 2.4.* ) ;; 27 2.3.[7-9]* | 2.4.* ) ;; 28 2.3.6 ) 29 apply_patch glibc-20051024-localedef_segfault-1 30 31 case ${TGT_ARCH} in 32 sparc* ) 33 # fix CFLAGS-rtld to remove deprecated sparc compiler options 34 # from sysdeps/unix/sysv/linux/sparc/sparc32/Makefile 35 # ( -mv8 is no longer supported ). Use -mcpu -mtune options 36 # from TGT_CFLAGS (which get passed regardless) 37 echo " - removing deprecated gcc options from sysdeps/unix/sysv/linux/sparc/sparc32/Makefile" 38 file="sysdeps/unix/sysv/linux/sparc/sparc32/Makefile" 39 if [ ! -f ${file}-ORIG ]; then cp -p ${file} ${file}-ORIG ; fi 40 grep -v \\-mv8 ${file}-ORIG > ${file} 41 ;; 42 esac 43 44 ;; 28 45 2.3.5 ) 29 46 # gcc4 support is working in CVS glibc 47 30 48 if [ ! -d ${SRC}/${PKGDIR}/CVS ]; then 31 49 echo " - applying gcc4 fixes" … … 38 56 apply_patch glibc-2.3.5-allow-gcc4-wcstol_l 39 57 fi 58 40 59 case ${TGT_ARCH} in 41 60 sparc* ) … … 118 137 ${fname}-ORIG > ${fname} 119 138 } 139 120 140 case ${TGT_ARCH} in 121 141 m68k* ) … … 125 145 arm* ) apply_patch glibc-arm-ctl_bus_isa ;; 126 146 esac 147 127 148 ;; 128 149 2.4.2[4-9] | 2.4.3* )
Note:
See TracChangeset
for help on using the changeset viewer.