[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz <slitaz@xxxxxxxxxxxxxxxxxxx>
- Subject: some ideas
- From: Alexander Medvedev <devl547@xxxxxxxxx>
- Date: Sat, 5 Nov 2011 13:24:34 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=0IvetxSkvkT5AKLgXFQxFxDJUTsCh3v6VgxgP1fK34s=; b=LEXi6spgDE6jsCqRpglFCwXEAWkE16z4Y96NpT+Y0B7y8wdlqSHDnuW5I21dkPm+Fv YZ271frqeHFoS4CLSe2MENbh51WiFAGTmNMSV9PbwjgBWPXCgvl12RyuBzDewHVveCt4 hR8pgI778R0VyrBaJKwmVtFTg9Hl2Qrhmei7U=
How about adding "-s -g0" to CFLAGS? It helps to reduce size a bit.
Also, we can add LDFLAGS="-Wl,-O1 -Wl,--as-needed" to turn on linker optimization and not to link with useless libraries.
With best regards, Alexander.