- http://www.ntp.org/downloads.html 下载源码
-
- 解压缩
- 进入源码目录,建立arm文件夹
- 执行命令:
-
./configure --prefix=$PWD/arm --exec-prefix=$PWD/arm --host=arm-fsl-linux-gnueabi CC=arm-fsl-linux-gnueabi-gcc --with-yielding-select=yes
请按照上面执行,否则会有错误,错误如下
- 编译make
- 安装make install,会生成下图中的文件夹