[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    RE: [Devel] libfreetype.a file size much different in Red-Hat Linux
From:       <CYLiang () winbond ! com ! tw>
Date:       2004-11-11 12:03:34
Message-ID: CCC5A29FD900F84BA52735E42576494D4D5823 () wehcml02
[Download RAW message or body]

Hi Antoine:
	Thanks a lot,
After using strip or modify CFLAGS without "-g", the generated
libfreetype.a is much smaller ( 363K ). 
More, is there any easy/convenient solution to minimize the
libfreetype.a ( maybe just combine used modules, not full modules ) ?

Best regards,
Chris Liang


-----Original Message-----
From: devel-admin@freetype.org [mailto:devel-admin@freetype.org] On
Behalf Of Antoine Leca
Sent: Thursday, November 11, 2004 6:27 PM
To: devel@freetype.org
Subject: Re: [Devel] libfreetype.a file size much different in Red-Hat
Linux

Chris Liang wrote:
> Built by me libfreetype.a file size is about 2092 K.
> Red-Hat Linux /usr/lib/ libfreetype.a. file size is 391 K.
> Why  and how to reduce the file size?

Why:
Typically (based on the figures) you have the debugging informations
into
your library (this is normal since by default Freetype ships with the -g
option on), RedHat version does not (again, this is correct since a
library
stored in /usr/lib is supposed to be bug-free).

How:
Try a tool named strip, particularly the -S option.
Another option is to use gcc -g1 if you do not intend to debug Freetype.


Antoine


===========================================================================================The \
privileged confidential information contained in this email is intended for use only \
by the addressees as indicated by the original author of this email. If you are not \
the addressee indicated in this email or are not responsible for delivery of the \
email to such person, please kindly reply the sender indicating accordingly and \
delete all copies of it from your computer and network server immediately. We thank \
you for your cooperation. It is advisable that any unauthorized use of confidential \
information of Winbond is strictly prohibited; and any information in this email that \
does not relate to the official business of Winbond shall be deemed as neither given \
nor endorsed by Winbond.===========================================================================================If \
your computer is unable to decode Chinese font, please ignore the following message. \
They essentially repeat the&nbsp; English statement \
above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È± Åv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. \
°²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g± Åvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, \
½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁ . \
¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g± Åv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. \
«H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.

_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic