Saving space.

Gerard Beekmans gerard at linuxfromscratch.org
Wed Sep 11 18:52:17 PDT 2002


On August 29, 2002 04:31 pm, Timothy Bauscher wrote:
> From the ld manpage:
>
> "-S  Omits debugger symbol information (but not all sym-
>      bols) from the output file.
>  -s  Omits all symbol information from the output  file."
>
> By setting CC='gcc -s' at the start of chapter 5, we can
> save lots of space for /static. Since /static is only
> temporary anyway, no one will miss their debugging symbols.
> A note about this ld flag can be mentioned in Chapter 6
> [About debugging symbols] as well.
>
> Thanks to Michaël Tousignant for pointing this out.
>
> Gerard, Mark, you agree?

Sure why not. It's a great tip.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list