[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[5367] ipcop/trunk/lfs
From: gespinasse () users ! sourceforge ! net
Date: 2011-01-24 7:44:19
Message-ID: E1PhH63-0000C8-2B () sfp-svn-3 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 5367
http://ipcop.svn.sourceforge.net/ipcop/?rev=5367&view=rev
Author: gespinasse
Date: 2011-01-24 07:44:18 +0000 (Mon, 24 Jan 2011)
Log Message:
-----------
This give us ccache speed up again for binutils, gcc (after pass1) and glibc
The reduction is approximatly 40%
Strip a bit more the gcc include in toolchain package by removing install-tools \
directory Gentoo do that and commented 'only useful while building gcc'
Modified Paths:
--------------
ipcop/trunk/lfs/gcc
ipcop/trunk/lfs/strip
Modified: ipcop/trunk/lfs/gcc
===================================================================
--- ipcop/trunk/lfs/gcc 2011-01-23 10:19:56 UTC (rev 5366)
+++ ipcop/trunk/lfs/gcc 2011-01-24 07:44:18 UTC (rev 5367)
@@ -170,6 +170,11 @@
# hacked with -m32 (2 in 1 DIY instruction) to support arch that build fine (x86 \
and ppc) and sparc64 # end of \
http://refbuild.diy-linux.org/temptools2.html#tt2-gcc-pass1 ln -vs libgcc.a \
`$(LFS_TGT)-gcc $(GCCOPTION) -print-libgcc-file-name | sed 's/libgcc/&_eh/'` + # we \
use --build on binutils, gcc, glibc and the full triplet is used to compile those \
packages + ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(LFS_TGT)-gcc
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(LFS_TGT)-g++
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(LFS_TGT)-cc
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(LFS_TGT)-c++
endif
ifeq "$(PASS)" "2"
@@ -226,6 +231,11 @@
# - for testing final gcc without hardened options
# - much easier to repackage toolchain after adjust-toolchain
$(TARGET_2)-gcc -dumpspecs > /$(TOOLS_DIR)/etc/gcc-unhardened.specs
+ # we use --build on binutils, gcc, glibc and the full triplet is used to compile \
those packages + ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(TARGET_2)-gcc
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(TARGET_2)-g++
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(TARGET_2)-cc
+ ln -sf ccache /$(TOOLS_DIR)/usr/bin/$(TARGET_2)-c++
endif # PASS 2
endif # toolchain
Modified: ipcop/trunk/lfs/strip
===================================================================
--- ipcop/trunk/lfs/strip 2011-01-23 10:19:56 UTC (rev 5366)
+++ ipcop/trunk/lfs/strip 2011-01-24 07:44:18 UTC (rev 5367)
@@ -65,6 +65,10 @@
rm -rf /${TOOLS_DIR}/${LFS_TGT}
rm -rf /${TOOLS_DIR}/bin/${LFS_TGT}-*
rm -rf /${TOOLS_DIR}/lib{,exec}/gcc/${LFS_TGT}
+ # remove the triplet used to compile glibc and (binutils, gcc) pass2
+ rm -rf /${TOOLS_DIR}/usr/bin/${LFS_TGT}-*
+ # gento remove that on install with comment 'only useful while building gcc'
+ rm -rf /${TOOLS_DIR}/lib/gcc/${TARGET_2}/*/install-tools
# Remove static libs from lib, but not nonshared and libgcc.a used by make \
headers_check
-find /${TOOLS_DIR}/lib -maxdepth 1 -not -name *_nonshared.a -name *.a -delete
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic