--On September 5, 2006 1:41:43 PM +0530 Arvind Kumar <[EMAIL PROTECTED]> wrote:

Hi!
Any help would be appriciated.
I found MySQL binaries for embedded system  (Processor: Power PC,
OS:Linux)
There is not much space available in the hard disk. It is around 20 MB.
The binary size is large enough, could you please tell me how can i reduce
binary size. Stripping, I already did.

Disable any engines you won't be using such as bdb and/or innodb and the like at compile time. Switch the optimization flags from -O3 to -Os (size optimized).

You can help reduce the size and memory footprints by using a shared library system. 20MB sounds like you're statically linking things. If you use shared libs across the whole system your overall image size will go down.

Thanks in Advance
Regards,



--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to