crosstool-0.38_patches_gcc-3.4.5_gcc-3.4.0-arm-nolibfloat.patch

来自「做好的交叉编译工具链」· PATCH 代码 · 共 28 行

PATCH
28
字号
--- crosstool-0.38-orig/patches/gcc-3.4.5/gcc-3.4.0-arm-nolibfloat.patch	1970-01-01 01:00:00.000000000 +0100+++ crosstool-0.38/patches/gcc-3.4.5/gcc-3.4.0-arm-nolibfloat.patch	2006-01-16 08:15:49.000000000 +0100@@ -0,0 +1,24 @@+# Dimitry Andric <dimitry@andric.com>, 2004-05-01+#+# * Removed the extra -lfloat option from LIBGCC_SPEC, since it isn't needed+#   anymore.  (The required functions are now in libgcc.)+# +# Fixes errors like+# arm-softfloat-linux-gnu/3.4.0/../../../../arm-softfloat-linux-gnu/bin/ld: cannot find -lfloat+# collect2: ld returned 1 exit status+# make[2]: *** [arm-softfloat-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/iconvdata/ISO8859-1.so] Error 1+# when building glibc-2.3.3 with gcc-3.4.0 for arm-softfloat++Index: gcc-3.4.5-ptx/gcc/config/arm/linux-elf.h+===================================================================+--- gcc-3.4.5-ptx.orig/gcc/config/arm/linux-elf.h++++ gcc-3.4.5-ptx/gcc/config/arm/linux-elf.h+@@ -72,7 +72,7 @@+    %{shared:-lc} \+    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"+ +-#define LIBGCC_SPEC "%{msoft-float:-lfloat} -lgcc"++#define LIBGCC_SPEC "-lgcc"+ + /* Provide a STARTFILE_SPEC appropriate for GNU/Linux.  Here we add+    the GNU/Linux magical crtbegin.o file (see crtstuff.c) which

⌨️ 快捷键说明

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