Native Build for the Host Development Platform
Compiling RDM for VxWorks kernel modules consist of a native build for your host development platform and a cross compiled build for your VxWorks target.
Native Build for the Host Development Platform
Before you can compile RDM for VxWorks kernel modules or VxWorks RTP, you need a native build for your host development platform.
Native build for Linux
Please follow the steps outlined in Using "configure" and
Using "make". Pay special attention to that you need to
provide the command line option --enable-vxworks7-project-files
or
--enable-vxworks7-rtp-project-files
when running configure
for the
VxWorks project files to be configured.
Setting up project files for Wind River Workbench
Assuming you have done a native build for your host development platform using the configure script and make on UNIX or the Visual Studio project files on Windows, you are now ready to set up the project files for Wind River Workbench.
On GNU/Linux the following is relative to the top build directory. On Windows it is relative to the top source or install directory:
$ cd target/vxworks7-... $ {wind_host}/workbench-4/wrtool -data . wrtool.txt $ cd ../..
Cross Compiled Build for VxWorks
Assuming you have set up the project files as explained above.
- Start WorkBench
- Select the
target/vxworks7-...
as the work space.
You should now have one project file for each example and tutorial that you can build and run on your target.