qnx内核coreos_pub编译

 qnx内核coreos_pub编译


1、环境:
windows xp sp3
qnx6.4.0安装在E:/QNX640
qnx coreos_pub svn version :199012  last modify time 1:53:32, 2008年9月5日

 

2、源码目录结构:
pwd显示:
E:/Delores/QNX_SRC/coreos_pub
dir显示:
trunk
hide-gnu.sh
其中hide-gnu.sh是从http://community.qnx.com/sf/wiki/do/viewAttachment/projects.core_os/wiki/BuildTheOSSource/hide-gnu.sh下载的。
以后的路径都是使用E:/Delores/QNX_SRC/coreos_pub,注意使用"/"而不是"/"

 

3、按官方文档的说明,在非qnx宿主开发环境下需要进行配置文件的转换。ignore the content of the GNU configure style source modules。
执行下面的语句,要等待10来分钟。
ksh hide-gnu.sh E:/Delores/QNX_SRC/coreos_pub

 

4、创建:stage目录,这里回存放编译过程中需要的头文件及编译后的结果。
cd E:/Delores/QNX_SRC/coreos_pub
mkdir stage

 

5、创建文本文件qconf-override.mk,这个文件主要设置qnx编译需要的几个环境变量,内容如下:
USE_INSTALL_ROOT=1
INSTALL_ROOT_nto=E:/Delores/QNX_SRC/coreos_pub/stage
VERSION_REL=6.4.0

 

6、设置环境变量 Set the override environment variable to point at the makefile stub
set QCONF_OVERRIDE=E:/Delores/QNX_SRC/coreos_pub/qconf-override.mk

 

7、Install all of the Header Files in the local stage
cd E:/Delores/QNX_SRC/coreos_pub/trunk
make OSLIST=nto hinstall

这个时间可是相当的漫长啊,从上午10点多到

你可能感兴趣的:(QNX,makefile,x86,杀毒软件,cache,null,header)