This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix building ltrace 0.5.3 for MIPS


hi!

ltrace 0.5.3 currently fails to build for target mips because MY_TARGET (introduced by
patches/ltrace/0.5.3/150-allow-configurable-arch.patch) is set to 'mips' via CT_ARCH,
while the mips specific stuff in ltrace (0.5.3) is stored under sysdeps/linux-gnu/mipsel.


result: *** No rule to make target `mips/arch.h', needed by `sysdep.h'. Stop.

the following patch fixes this issue:

diff -r 78286fe70b62 scripts/build/debug/400-ltrace.sh
--- a/scripts/build/debug/400-ltrace.sh    Mon Jan 03 19:07:34 2011 +0100
+++ b/scripts/build/debug/400-ltrace.sh    Wed Jan 05 13:42:28 2011 +0100
@@ -33,6 +33,7 @@
             x86:32)     ltrace_host="i386";;
             x86:64)     ltrace_host="x86_64";;
             powerpc:*)  ltrace_host="ppc";;
+            mips:*)     ltrace_host="mipsel";;
             *)          ltrace_host="${CT_ARCH}";;
         esac
         CC="${CT_TARGET}-${CT_CC}"      \

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>

br
-h

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]