[coyotos-dev] Building coyotos-arm xenv
Jeroen Visser
jeroen.c.visser at gmail.com
Tue Jan 1 16:17:16 EST 2008
I used the following patch to make the coyotos-arm xenv build run to completion:
diff -r 18e5c6544c4f SOURCES/capos-gcc-4.2.2.patch
--- a/SOURCES/capos-gcc-4.2.2.patch Tue Dec 18 23:05:17 2007 -0500
+++ b/SOURCES/capos-gcc-4.2.2.patch Tue Jan 01 16:16:29 2008 -0500
@@ -1661,7 +1661,7 @@ diff -ruN baseline-gcc-4.2.2/gcc/config/
+/* If ELF is the default format, we should not use /lib/elf. */
+
+#undef LINK_SPEC
-+#define LINK_SPEC "%{small-space:-m arm_coyotos_small} \
++#define LINK_SPEC "%{small-space:-m armelf_coyotos_small} \
+ %{static:-static}"
+
diff -ruN baseline-gcc-4.2.2/gcc/config/arm/coyotos.h
gcc-4.2.2/gcc/config/arm/coyotos.h
@@ -1695,7 +1695,7 @@ diff -ruN baseline-gcc-4.2.2/gcc/config/
+/* If ELF is the default format, we should not use /lib/elf. */
+
+#undef LINK_SPEC
-+#define LINK_SPEC "%{small-space:-m arm_coyotos_small} \
++#define LINK_SPEC "%{small-space:-m armelf_coyotos_small} \
+ %{static:-static}"
+
diff -ruN baseline-gcc-4.2.2/gcc/config/capros.h gcc-4.2.2/gcc/config/capros.h
Cheers,
JCV
More information about the coyotos-dev
mailing list