Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Jenna on February 02, 2008, 02:04:07 pm

Title: update-script on Linux does not strip executables and speedup-patch
Post by: Jenna on February 02, 2008, 02:04:07 pm
Patch to change this:
Code
--- codeblocks-1.0svn.orig/src/update   2007-11-12 11:52:13.000000000 +0100
+++ codeblocks-1.0svn.orig/src/update   2008-01-15 07:37:18.000000000 +0100
@@ -92,12 +92,12 @@
 # Now remove the exclude pattern file
 rm excludes.txt

-if [ "x$MSYSTEM" != "x" ] ; then
-  echo Stripping debug info from output tree
-  strip output/codeblocks${EXEEXT}
-  strip output/*.${LIBEXT}
-  strip output/share/codeblocks/plugins/*.${LIBEXT}
-else
+echo Stripping debug info from output tree
+strip output/codeblocks${EXEEXT}
+strip output/*.${LIBEXT}
+strip output/share/codeblocks/plugins/*.${LIBEXT}
+
+if [ "x$MSYSTEM" == "x" ] ; then
   echo Creating launch-scripts
   echo "#!/bin/sh" > output/run.sh
   echo -n "APP_DIR=" >> output/run.sh
Title: Re: update-script on Linux does not strip executables and speedup-patch
Post by: Jenna on May 24, 2008, 03:20:13 pm
I just added some speedups similar to rhf's patch #2452 for windows.
The stripping of executables is (of course) still included.

I submitted the patch at berlios number is #2480 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2480&group_id=5358).