|
||||||||||||
|
|
Next
Previous
Contents
2. Installing RTLINUXThe first step in the compilation of RTLinux kernel, is to download a pre-patched kernel 2.2.18 (x86 only) 2.2.18 (x86 only) or 2.4.0-test1 (x86, PowerPC, Alpha) into /usr/src/ and untar it. Also put a fresh copy of RTLinux kernel (version 3.0) from www.rtlinux.org in /usr/src/rtlinux/. (We will use $ to represent the prompt).
The last step will create the directory: /usr/rtlinux-xx (xx denotes the version) which contains the default installation directory for RTLinux which is needed to create and compile user programs (that is, it contains the include files, utilities, and documentation). It will also create a symbolic link: /usr/rtlinux which points to /usr/rtlinux-xx. In order to maintain future compatibility, please make sure that all of your own RTLinux programs use /usr/rtlinux as its default path. NOTE : If you change any Linux kernel options, please don't forget to do:
$ cd /usr/src/rtlinux
$ make clean
$ make
$ make install
Next Previous Contents | |||||||||||
|
||||||||||||