Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: pechelene ma miasto


  • Subject: Re: lug-bg: pechelene ma miasto
  • From: sheib@xxxxxxxxxxxxxxxxx (sheib)
  • Date: Thu, 18 Apr 2002 22:09:24 +0300 (EEST)



Tova ne e nov podhod, no i ne vijdam niakoi da go pravi. Polzvai strip.

# gcc foo.c
# ls -l a.out
-rwxr-xr-x    1 root     root        13031 àïð 18 21:13 a.out*
# gcc -static foo.c -o as.out
# ls -l as.out
-rwxr-xr-x    1 root     root      1569032 àïð 18 21:14 as.out*
# file a*
a.out:  ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
linked (uses shared libs), not stripped
as.out: ELF 32-bit LSB executable, Intel 80386, version 1, statically
linked, not stripped
# strip -RNote -RComment a*
# ls -l a*
-rwxr-xr-x    1 root     root       382608 àïð 18 21:15 as.out*
-rwxr-xr-x    1 root     root         2840 àïð 18 21:15 a.out*

Mojesh da stripvash relocatables, executables, shared obstacles, ars, etc.
Neshto takova sigurno shte svyrshi rabota:

for q in `find / -type f -perm +0755 | xargs file | grep -e "not strip" |
cut -f1 -d":"` ; do strip -RComment -RNote "$q" ; done

A, da. Updatevai MD5 sumite sled tova :-)

/s

STRIP.1(1)                     GNU                     STRIP.1(1)

NAME
       strip - Discard symbols from object files.

On Thu, 18 Apr 2002, Nikola Minev wrote:

>
> Zdrasti list, izvinete neobrazovanostta mi, no triabva da osvobodia malko
> miasto na diska,
> kato trieneteo na dokumentaciata ne e reshenie, polzvam ia :) Mahnah
> vsichki core failove,
> nenujni programi - bez osoben rezultat. Idei? 4 GB disk, linux fs i swap.
> Ne vyrvi da slagam
> nova distribucia. Blagodaria.
>
> Nikola
> __________________________________
> 12MB-POP3-WAP-SMS---TOBA-E-mail.bG
> ----------------------------------
>
> " Ako uckame u Bue agpec B mail.bg
> ugeme myk: http://www.mail.bg/new/ "
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.