IOS

IOS

IOS崩溃命令行工具atosl安装记录

编程 空心菜 发表了文章 3 个评论 9404 次浏览 2016-01-08 14:07 来自相关话题

Centos安装1、安装依赖包libdwarf、binutils-devel、lasso、tbb yum -y ...查看全部

Centos安装

1、安装依赖包libdwarf、binutils-devel、lasso、tbb


yum -y install libdwarf-devel libdwarf-tools binutils-devel lasso libdwarf lasso-python libdwarf-tools libdwarf-static tbb

2、创建libdwarf.h软连接


ln -s /usr/include/libdwarf/libdwarf.h /usr/include/libdwarf.h

ln -s /usr/include/libdwarf/dwarf.h /usr/include/dwarf.h

3、获取atosl源码


cd /usr/local/ && git clone https://github.com/facebook/atosl.git

4、安装atosl


cd atosl  #进入源码目录
echo "LDFLAGS += -L/usr/bin" > ./config.mk.local #添加objdump环境目录
make #编译安装

5、测试命令


默认安装完成后,命令是在你源码包路径下
Example:/usr/local/atosl是我源码存储目录,那安装完成后命令路径为/usr/local/atosl/atosl
所以需要做个软连接让环境变量中可以查到:
# ln -s /usr/local/atosl/atosl /usr/bin/atosl

命令结果如下:

Ubuntu安装

1、安装libdwarf-dev、 dwarfdump、binutils-dev 、libiberty-dev软件包


$ sudo apt-get install libdwarf-dev dwarfdump binutils-dev libiberty-dev

2、从github克隆下载atosl源码


$ git clone https://github.com/facebook/atosl.git

3、进入源码目录安装


$ cd atosl

Create a local config config.mk.local which contains a flag with the location of your binutil apps. (in Ubuntu by default that's /usr/bin). If you're not sure, you can find out by executing cat /var/lib/dpkg/info/binutils.list | less and copy the path of the file objdump. E.g. if the entry is /usr/bin/objdump, your path is /usr/bin.

So in the end, your config.mk.local should look like this:

$ echo "LDFLAGS += -L/usr/bin" > ./config.mk.local
$ make

4、测试命令

参考:



https://github.com/facebook/hhvm/issues/536
https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-CentOS-6.3
http://stackoverflow.com/questions/15070680/ios-symbolication-server-side


IOS崩溃命令行工具atosl安装记录

编程 空心菜 发表了文章 3 个评论 9404 次浏览 2016-01-08 14:07 来自相关话题

Centos安装1、安装依赖包libdwarf、binutils-devel、lasso、tbb yum -y ...查看全部

Centos安装

1、安装依赖包libdwarf、binutils-devel、lasso、tbb


yum -y install libdwarf-devel libdwarf-tools binutils-devel lasso libdwarf lasso-python libdwarf-tools libdwarf-static tbb

2、创建libdwarf.h软连接


ln -s /usr/include/libdwarf/libdwarf.h /usr/include/libdwarf.h

ln -s /usr/include/libdwarf/dwarf.h /usr/include/dwarf.h

3、获取atosl源码


cd /usr/local/ && git clone https://github.com/facebook/atosl.git

4、安装atosl


cd atosl  #进入源码目录
echo "LDFLAGS += -L/usr/bin" > ./config.mk.local #添加objdump环境目录
make #编译安装

5、测试命令


默认安装完成后,命令是在你源码包路径下
Example:/usr/local/atosl是我源码存储目录,那安装完成后命令路径为/usr/local/atosl/atosl
所以需要做个软连接让环境变量中可以查到:
# ln -s /usr/local/atosl/atosl /usr/bin/atosl

命令结果如下:

Ubuntu安装

1、安装libdwarf-dev、 dwarfdump、binutils-dev 、libiberty-dev软件包


$ sudo apt-get install libdwarf-dev dwarfdump binutils-dev libiberty-dev

2、从github克隆下载atosl源码


$ git clone https://github.com/facebook/atosl.git

3、进入源码目录安装


$ cd atosl

Create a local config config.mk.local which contains a flag with the location of your binutil apps. (in Ubuntu by default that's /usr/bin). If you're not sure, you can find out by executing cat /var/lib/dpkg/info/binutils.list | less and copy the path of the file objdump. E.g. if the entry is /usr/bin/objdump, your path is /usr/bin.

So in the end, your config.mk.local should look like this:

$ echo "LDFLAGS += -L/usr/bin" > ./config.mk.local
$ make

4、测试命令

参考:



https://github.com/facebook/hhvm/issues/536
https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-CentOS-6.3
http://stackoverflow.com/questions/15070680/ios-symbolication-server-side


iOS是由苹果公司开发的移动操作系统 。苹果公司最早于2007年1月9日的Macworld大会上公布这个系统,最初是设计给iPhone使用的,后来陆续套用到iPod touch、iPad以及Apple TV等产品上。iOS与苹果的Mac OS X操作系统一样,属于类Unix的商业操作系统。原本这个系统名为iPhone OS,因为iPad,iPhone,iPod touch都使用iPhone OS,所以2010WWDC大会上宣布改名为iOS(iOS为美国Cisco公司网络设备操作系统注册商标,苹果改名已获得Cisco公司授权)。