Am 31.08.2012 19:35, schrieb Nathan Coulson:

>> i'll write about the results as soon as the build is done.

i now have (almost) finished my system.

xfce is up with firefox and thunderbird. only libreoffice and vlc are 
missing - but that's another story ;)


everything is fine, no errors occurred.


i use the DESTDIR approach and loop thru the DESTDIR with the following 
script before installing:


OK=$( LC_ALL=C file "$F" )

[ -z "$( echo $OK | grep ': ELF ' )" ] || \
   strip --strip-unneeded -p "$F"

[ -z "$( echo $OK | grep ': current ar archive' )" ] || \
   strip --strip-debug -p "$F"



i guess it's save to say:
--strip-unneeded for any ELF file (binary or library)
--strip-debug for any static library

--strip-unneeded even works on object files, as they are processed due 
to the grep ' ELF ' as i had to learn scanning thru the logfile: even 
the crt*.o in /usr/lib/gcc* are processed without making any troubles.

tobias

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to