List Info

Thread: About stripping




About stripping
user name
2007-03-31 15:42:42
Hi,

I'm trying to build a LFS system, but i want to reduce the
size where
possible. So i read the part of stripping, and i saw this
message:
Take care not to use --strip-unneeded on the libraries. The
static
ones would be destroyed and the toolchain packages would
need to be
built all over again.
But what about running --strip-unneeded on only the shared
libraries?
Would it destroy the shared libraries too?
And what about the --strip-all? Can I run that on the shared
libraries?

Best regards,

Tijnema

ps. Somebody knows more options to save disk space, but
still keeping
a working system?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: About stripping
user name
2007-03-31 16:10:09
On 3/31/07, Tijnema ! <tijnemagmail.com> wrote:
> But what about running --strip-unneeded on only the
shared libraries?
> Would it destroy the shared libraries too?
I don't know, but back them up before you try it.

> ps. Somebody knows more options to save disk space, but
still keeping
> a working system?
Deleting man/info pages? Using busybox? Replace vim with a
smaller vi
(elvis, nvi, take your pick)? Remove perl?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: About stripping
user name
2007-03-31 16:15:36
On 3/31/07, veritosprojectgmail.com
<veritosprojectgmail.com> wrote:
> On 3/31/07, Tijnema ! <tijnemagmail.com> wrote:
> > But what about running --strip-unneeded on only
the shared libraries?
> > Would it destroy the shared libraries too?
> I don't know, but back them up before you try it.

Sure i will back them up  just
wanted to know before wasting my time.
>
> > ps. Somebody knows more options to save disk
space, but still keeping
> > a working system?
> Deleting man/info pages?
I did
Using busybox?
Thanks, didn't know it existed, i think i will give it a
try
Replace vim with a smaller vi (elvis, nvi, take your pick)?
Hmm, i will take a look at the alternatives.
Remove perl?
Well, then it isn't a real working system anymore, a lot of
things use
perl these days.

Anyway, thanks for you fast reply

Tijnema
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support

> FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: About stripping
country flaguser name
United States
2007-03-31 22:19:36
Tijnema ! wrote these words on 03/31/07 15:42 CST:

> So i read the part of stripping, and i saw this
message:
> Take care not to use --strip-unneeded on the libraries.
The static
> ones would be destroyed and the toolchain packages
would need to be
> built all over again.
> But what about running --strip-unneeded on only the
shared libraries?
> Would it destroy the shared libraries too?
> And what about the --strip-all? Can I run that on the
shared libraries?

I can only think that if you had done just *one* google
search on
this question, you wouldn't have had to ask it here.

Please, do your research, you will learn so much more.

-- 
Randy

rmlscsi: [bogomips 1003.25] [GNU ld version 2.16.1] [gcc
(GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3
i686]
22:19:01 up 1:06, 1 user, load average: 1.15, 1.21, 0.83
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: About stripping
user name
2007-04-01 03:20:13
On 4/1/07, Randy McMurchy <lfs-usermcmurchy.com> wrote:
> Tijnema ! wrote these words on 03/31/07 15:42 CST:
>
> > So i read the part of stripping, and i saw this
message:
> > Take care not to use --strip-unneeded on the
libraries. The static
> > ones would be destroyed and the toolchain packages
would need to be
> > built all over again.
> > But what about running --strip-unneeded on only
the shared libraries?
> > Would it destroy the shared libraries too?
> > And what about the --strip-all? Can I run that on
the shared libraries?
>
> I can only think that if you had done just *one* google
search on
> this question, you wouldn't have had to ask it here.
>
> Please, do your research, you will learn so much more.
>
> --
> Randy

I did search on google, but couldn't find any usefull
information, i
only found information that it will destroy the static
libraries.

Tijnema
>
> rmlscsi: [bogomips 1003.25] [GNU ld version 2.16.1]
[gcc (GCC) 4.0.3]
> [GNU C Library stable release version 2.3.6] [Linux
2.6.14.3 i686]
> 22:19:01 up 1:06, 1 user, load average: 1.15, 1.21,
0.83
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support

> FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: About stripping
country flaguser name
United States
2007-04-01 03:41:26
On Apr 1, 2007, at 3:20 AM, Tijnema ! wrote:

> On 4/1/07, Randy McMurchy <lfs-usermcmurchy.com> wrote:
>> Tijnema ! wrote these words on 03/31/07 15:42 CST:
>>
>>> So i read the part of stripping, and i saw this
message:
>>> Take care not to use --strip-unneeded on the
libraries. The static
>>> ones would be destroyed and the toolchain
packages would need to be
>>> built all over again.
>>> But what about running --strip-unneeded on only
the shared  
>>> libraries?
>>> Would it destroy the shared libraries too?
>>> And what about the --strip-all? Can I run that
on the shared  
>>> libraries?
>>
>> I can only think that if you had done just *one*
google search on
>> this question, you wouldn't have had to ask it
here.
>>
>> Please, do your research, you will learn so much
more.
>>
>> --
>> Randy
>
> I did search on google, but couldn't find any usefull
information, i
> only found information that it will destroy the static
libraries.
>
> Tijnema

The Unix man page of strip provides a more precise
explanation than  
the linux strip man page.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: 7.5. Configuring the setclock Script - no /etc/sysconfig
country flaguser name
United States
2007-04-05 16:20:56
> Hey,
>
> in chapter I supose to create a /etc/sysconfig/clock
file.
>
> by executing the comand
>
> cat > /etc/sysconfig/clock << "EOF"
> # Begin /etc/sysconfig/clock
>
> UTC=1
>
> # End /etc/sysconfig/clock
> EOF
>
> i get the message,
>
> /etc/sysconfig/clock: No such file or directory
>
> and true there is no foulder /etc/sysconfig
>
> Went something wrong or do I just have to create this
folder ?
>
> regads
> kai


Did you create the /etc/sysconfig directory first?

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: 7.13. Configuring the network Script - DHCP
user name
2007-04-06 07:17:30
On Fri, Apr 06, 2007 at 12:38:56AM +0200, Kai Ulrich wrote:
> hey,
> 
> I start to install the network script.
> My rooter is configured as an dhcp server.
> Is it wise to install dhcp now or should I wait until
lfs is booting and 
> do it later (see blfs) ?
> 
 There's no problem about building dhcp in chroot - dhclient
is one
of the (many) things I build on my desktop systems before
trying to
boot them, so that I have a chance of a useful system.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )