存档

‘MAC’ 分类的存档

set install_name for dylib g++ -install_name xxx.o -o xxx.dylib view install_name: method1: otool -L xxx.dylib see the first row. change install_name install_name_tool -change old.dylib new.dylib xxx.dylib pack libs lipo -create a_32.dylib a_64.dylib -output a.dylib

一 8th, 2012 | Filed under MAC, 开发

from mac 10.5 on, task_for_pid fails if the calling process has no root privilege. today I wrote a small app that needs this function, so I decided to make it run. Finding out the web , I found the result. There are something wrong or outdated on sites talk about it, so I wrote this [...]

七 2nd, 2011 | Filed under MAC, 开发