2006年6月9日金曜日

lipo

Intel Macでは/bin,/usr/binの下もことごとくUniversal Binaryになっている。おかげでほとんどのコマンドのサイズが倍増している。何とかしたいと思っていたがlipoを使えばよいことが判明。これで34256 byteの/usr/bin/rubyが17380 byteに半減!
The operations that lipo performs are: listing the
architecture types in a universal file; creating a single universal
file from one or more input files; thinning out a single universal file
to one specified architecture type; and extracting, replacing, and/or
removing architectures types from the input file to create a single new
universal output file.

0 件のコメント: