[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: to reduce footprint
From: |
Lin George |
Subject: |
Re: to reduce footprint |
Date: |
Sat, 23 Dec 2006 11:16:45 +0100 (CET) |
A great guide line Kristof! I have heard of all of them except this one, "ld's
-gc-sections". What its function?
regards,
George
> As a rough guide:
> - Strip debug information (strip)
> - Optimize for size (-Os)
> - Use gcc's -fdata-sections/-ffunction-sections and ld's -gc-sections
> to remove unused functions.
> - use a compressed file system like SquashFS. (depending on your target
> and requirements of course)
>
> Kristof
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com