操作系统开发 - cross compile libelf
来源:互联网 发布:日韩和欧美护肤知乎 编辑:程序博客网 时间:2024/04/18 17:55
Dear OS developer
the libelf can't be cross compile in mac by default, here is the tutorial to make it works. just run "./configure", use --prefix if you are going to install it in a specific directory
1) unzip your libelf-0.8.13.tar.gz2
2) don't ./configure with --target, because it won't help
3) edit config.h
change to these values:
#define HAVE_MMAP 0
#define HAVE_CATGETS 0
4) edit Makefile and lib/Makefile
the libelf can't be cross compile in mac by default, here is the tutorial to make it works. just run "./configure", use --prefix if you are going to install it in a specific directory
1) unzip your libelf-0.8.13.tar.gz2
2) don't ./configure with --target, because it won't help
3) edit config.h
change to these values:
#define HAVE_MMAP 0
#define HAVE_CATGETS 0
4) edit Makefile and lib/Makefile
change gcc,ld,ranlib to your toolchain's one
5) type "make" and "make install"
- 操作系统开发 - cross compile libelf
- cross compile
- DaVinci开发之Eclipse cross-compile的PATH设定
- au1200 kdrive cross compile
- mplayer cross compile
- mplayer cross compile 2
- mplayer cross compile 3
- ffmpeg cross compile
- ffmpeg cross compile 2
- mplayer cross compile 4
- mplayer cross compile 5
- mplayer_r29702 cross compile
- live555 cross compile
- Cross compile - scratchbox
- dhcp cross compile
- Cross Compile zlib
- Cross Compile libpng
- git cross-compile
- 不知道对错 指针与引用
- 为了方便zencart的学习,请阅读下
- 系统编程之进程管理 fork—pid
- 直通串口线和交叉串口线
- java访问共享目录
- 操作系统开发 - cross compile libelf
- VS2008查看dll导出函数
- 【错误处理:】Collection <__NSArrayM: 0x12ec10e0> was mutated while being enumerated.
- 实时向客户端输出数据(例如1秒输出一行) 要注意的两个问题
- PHP多进程并发控制的测试用例
- 最近看了看Kerberos协议,终于明白了。
- 破解Redhat 5.4 root的密码
- XCode 的CopyPNGFile Error (找不到图片或目录)
- LoadRunner中,参数化时Unique取值方式的理解