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] |
hi! the following patch against svn_trunk@1425 fixes a problem when cross-compiling ltrace (ltrace_0.5.1.orig.): when ARCH is not defined on the make command line for sysdeps/linux-gnu/Makefile, ARCH is determined via 'uname -m', which results in the selection of the wrong architecture-dependent subdir for cross-compilation in most cases (host != target.) Index: scripts/build/debug/400-ltrace.sh =================================================================== --- scripts/build/debug/400-ltrace.sh (revision 1425) +++ scripts/build/debug/400-ltrace.sh (working copy) @@ -34,10 +34,10 @@ --prefix=/usr CT_DoLog EXTRA "Building ltrace" - CT_DoExecLog ALL make + CT_DoExecLog ALL make ARCH="${CT_ARCH}" CT_DoLog EXTRA "Installing ltrace" - CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install + CT_DoExecLog ALL make ARCH="${CT_ARCH}" DESTDIR="${CT_DEBUGROOT_DIR}" install CT_Popd CT_EndStep 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] |