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]

[CT_NG]


I have these configuration items:
      CT_TOOL_sstrip=y
      CT_SSTRIP_BUILDROOT=y
      CT_SSTRIP_FROM="buildroot"
as well as a
      CT_LOCAL_TARBALLS_DIR

Fails with (slightly reformatted)
[INFO ] Installing sstrip
[EXTRA] Building sstrip
[DEBUG] ==> Executing: 'x86_64-build_pc-linux-gnu-gcc -Wall -o sstrip
<path>/targets/src/sstrip/sstrip.c'
[ALL ] x86_64-linux-gnu-gcc: <path>/targets/src/sstrip/sstrip.c:
No such file or directory
[ALL ] x86_64-linux-gnu-gcc: no input files
[ERROR] Build failed in step 'Installing sstrip'


The file
       sstrip.c?view=co
had been downloaded into my local tarballs directory.

With the attached patch (in the hope that the lines don't get buggered), the build succeeds.

Darryl

PS: thanks for the great tool you've created!
diff -pubr crosstool-ng-1.3.2-original/scripts/build/tools/200-sstrip.sh crosstool-ng-1.3.2/scripts/build/tools/200-sstrip.sh
--- crosstool-ng-1.3.2-original/scripts/build/tools/200-sstrip.sh	2009-01-27 17:13:24.000000000 -0600
+++ crosstool-ng-1.3.2/scripts/build/tools/200-sstrip.sh	2009-02-17 13:56:26.000000000 -0600
@@ -40,7 +40,7 @@ case "${CT_SSTRIP_FROM}" in
         do_tools_sstrip_extract() {
             # We'll let buildroot guys take care of sstrip maintenance and patching.
             mkdir -p "${CT_SRC_DIR}/sstrip"
-            CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/sstrip.c?view=co" "${CT_SRC_DIR}/sstrip"
+            CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/sstrip.c?view=co" "${CT_SRC_DIR}/sstrip/sstrip.c"
         }
         do_tools_sstrip_build() {
             CT_DoStep INFO "Installing sstrip"

--
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]