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

📄 100-uclibc-conf.patch

📁 最新的文件系统生成工具
💻 PATCH
📖 第 1 页 / 共 2 页
字号:
+SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \+	-Wl,--soname=$(SHLIB_SONAME) \+	-Wl,--version-script=$(SHLIB_MAP) \+	-o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \+	$(SHLIB_OBJS) $(SHLIB_LC) && \+	rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \+	if [ -f $(SHLIB_DIR)/$(SHLIB_SONAME) ]; then \+	  mv -f $(SHLIB_DIR)/$(SHLIB_SONAME) \+		$(SHLIB_DIR)/$(SHLIB_SONAME).backup; \+	else true; fi && \+	mv $(SHLIB_DIR)/$(SHLIB_SONAME).tmp $(SHLIB_DIR)/$(SHLIB_SONAME) && \+	(echo "/* GNU ld script"; \+	 echo "   Use the shared library, but some functions are only in"; \+	 echo "   the static library.  */"; \+	 echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \+	) > $(SHLIB_DIR)/$(SHLIB_SOLINK)+SHLIB_INSTALL = \+	$$(mkinstalldirs) $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \+	$(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SONAME) \+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \+	rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \+	$(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SOLINK) \+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)diff -urN gcc-4.0.0-dist/gcc/config/t-linux-uclibc gcc-4.0.0/gcc/config/t-linux-uclibc--- gcc-4.0.0-dist/gcc/config/t-linux-uclibc	1969-12-31 18:00:00.000000000 -0600+++ gcc-4.0.0/gcc/config/t-linux-uclibc	2005-04-28 20:30:00.000000000 -0500@@ -0,0 +1,15 @@+T_CFLAGS = -DUSE_UCLIBC++# Compile crtbeginS.o and crtendS.o with pic.+CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC+# Compile libgcc2.a with pic.+TARGET_LIBGCC2_CFLAGS = -fPIC++# Override t-slibgcc-elf-ver to export some libgcc symbols with+# the symbol versions that glibc used.+#SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver++# Use unwind-dw2-fde+LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \+  $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c+LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.hdiff -urN gcc-4.0.0-dist/gcc/config.gcc gcc-4.0.0/gcc/config.gcc--- gcc-4.0.0-dist/gcc/config.gcc	2005-03-30 21:17:08.000000000 -0600+++ gcc-4.0.0/gcc/config.gcc	2005-04-28 20:30:00.000000000 -0500@@ -439,7 +439,12 @@   case ${enable_threads} in     "" | yes | posix) thread_file='posix' ;;   esac-  tmake_file="t-slibgcc-elf-ver t-linux"+  case ${target} in+    *-*-linux-uclibc*)+      tmake_file="t-slibgcc-elf-ver t-linux-uclibc" ;;+    *)+      tmake_file="t-slibgcc-elf-ver t-linux" ;;+  esac   ;; *-*-gnu*)   # On the Hurd, the setup is just about the same on@@ -744,6 +749,10 @@ 	tmake_file="cris/t-cris cris/t-elfmulti" 	gas=yes 	;;+cris-*-linux-uclibc*)+	tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"+	tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux-uclibc"+	;; cris-*-linux*) 	tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h" 	# We need to avoid using t-linux, so override default tmake_file@@ -1759,7 +1759,7 @@ 	;; sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \-  sh-*-linux* | sh[346lbe]*-*-linux* | \+  sh*-*-linux* | sh[346lbe]*-*-linux* | \   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \    sh64-*-netbsd* | sh64l*-*-netbsd*) 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"@@ -1780,6 +1789,8 @@ 	esac 	tm_file="${tm_file} sh/elf.h" 	case ${target} in+	sh*-*-linux-uclibc*) tmake_file="${tmake_file} sh/t-linux-uclibc"+			tm_file="${tm_file} sh/linux.h" ;; 	sh*-*-linux*)	tmake_file="${tmake_file} sh/t-linux" 			tm_file="${tm_file} sh/linux.h" ;; 	sh*-*-kaos*)	tm_file="${tm_file} sh/embed-elf.h kaos.h sh/kaos-sh.h"diff -urN gcc-4.0.0-dist/libffi/configure gcc-4.0.0/libffi/configure--- gcc-4.0.0-dist/libffi/configure	2004-12-02 05:04:21.000000000 -0600+++ gcc-4.0.0/libffi/configure	2005-04-30 12:18:05.000000000 -0500@@ -3457,6 +3457,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/libgfortran/configure gcc-4.0.0/libgfortran/configure--- gcc-4.0.0-dist/libgfortran/configure	2005-04-21 02:04:10.000000000 -0500+++ gcc-4.0.0/libgfortran/configure	2005-04-30 12:26:15.000000000 -0500@@ -3684,6 +3684,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/libjava/configure gcc-4.0.0/libjava/configure--- gcc-4.0.0-dist/libjava/configure	2005-04-21 02:04:10.000000000 -0500+++ gcc-4.0.0/libjava/configure	2005-04-30 12:27:15.000000000 -0500@@ -4354,6 +4354,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/libmudflap/configure gcc-4.0.0/libmudflap/configure--- gcc-4.0.0-dist/libmudflap/configure	2005-01-02 16:24:50.000000000 -0600+++ gcc-4.0.0/libmudflap/configure	2005-04-30 12:25:24.000000000 -0500@@ -5380,6 +5380,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/libobjc/configure gcc-4.0.0/libobjc/configure--- gcc-4.0.0-dist/libobjc/configure	2005-04-21 02:04:10.000000000 -0500+++ gcc-4.0.0/libobjc/configure	2005-04-30 12:25:55.000000000 -0500@@ -3283,6 +3283,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/libtool.m4 gcc-4.0.0/libtool.m4--- gcc-4.0.0-dist/libtool.m4	2004-11-29 17:45:17.000000000 -0600+++ gcc-4.0.0/libtool.m4	2005-04-30 12:28:32.000000000 -0500@@ -682,6 +682,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']diff -urN gcc-4.0.0-dist/ltconfig gcc-4.0.0/ltconfig--- gcc-4.0.0-dist/ltconfig	2004-10-02 11:33:06.000000000 -0500+++ gcc-4.0.0/ltconfig	2005-04-30 13:26:08.000000000 -0500@@ -602,6 +602,7 @@  # Transform linux* to *-*-linux-gnu*, to support old configure scripts. case $host_os in+linux-uclibc*) ;; linux-gnu*) ;; linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` esac@@ -1273,6 +1274,23 @@   dynamic_linker='GNU/Linux ld.so'   ;; +linux-uclibc*)+  version_type=linux+  need_lib_prefix=no+  need_version=no+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'+  soname_spec='${libname}${release}.so$major'+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'+  shlibpath_var=LD_LIBRARY_PATH+  shlibpath_overrides_runpath=no+  # This implies no fast_install, which is unacceptable.+  # Some rework will be needed to allow for fast_install+  # before this can be enabled.+  hardcode_into_libs=yes+  # Assume using the uClibc dynamic linker.+  dynamic_linker="uClibc ld.so"+  ;;+ netbsd*)   need_lib_prefix=no   need_version=nodiff -urN gcc-4.0.0-dist/zlib/configure gcc-4.0.0/zlib/configure--- gcc-4.0.0-dist/zlib/configure	2004-11-24 16:04:38.000000000 -0600+++ gcc-4.0.0/zlib/configure	2005-04-30 12:30:40.000000000 -0500@@ -3426,6 +3426,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0.orig/config.sub gcc-4.0.0/config.sub--- gcc-4.0.0.orig/config.sub	2005-01-18 03:20:48.000000000 +0200+++ gcc-4.0.0/config.sub	2005-05-02 13:46:44.643407037 +0300@@ -260,7 +260,7 @@ 	| pdp10 | pdp11 | pj | pjl \ 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 	| pyramid \-	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \+	| sh | sh[1234]* | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 	| sh64 | sh64le \ 	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 	| strongarm \@@ -334,7 +334,7 @@ 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 	| pyramid-* \ 	| romp-* | rs6000-* \-	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \+	| sh-* | sh[1234]*-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \@@ -884,9 +884,6 @@ 		basic_machine=sh-hitachi 		os=-hms 		;;-	sh64)-		basic_machine=sh64-unknown-		;; 	sparclite-wrs | simso-wrs) 		basic_machine=sparclite-wrs 		os=-vxworks@@ -1086,7 +1083,7 @@ 	we32k) 		basic_machine=we32k-att 		;;-	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)+	sh2* | sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) 		basic_machine=sh-unknown 		;; 	sh64)

⌨️ 快捷键说明

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