VxWorks Under Linux

Here are step-by-step instructions to build a linux gcc cross compiler for m68k (Motorola 680x0) targets running vxWorks. The instructions specifically apply to the following system: If one or more of the above are different in your system (especially the target OS), these instructions should still be useful in showing the main steps to building a cross compiler, but you probably have to improvise when it comes to details.

There are some additional shell scripts, source files, and binaries mentioned in the instructions below. You may find all of them in

http://cahrd.tuc.noao.edu/mpg/vxworks/linuxHostingVx.tgz
I will refer to this location as UtilDir.

To simplify the instructions, I assume that the entire vxWorks 5.3.1 distribution resides in directory Tornado somewhere on the original host. I also install things in specific directories; feel free to rearrange things when you build your own system.  Here we go:

We are done! Now the best way to test things is to make a clean build of the kernel.
 
 

Acknowledgment

I was lucky to come across this document by T. Trebisky. The munch binary used here is from his archive, and so is the xsym.c, which I had to modify slightly to get it to compile. You will find his archive (trebisky.tgz) in UtilDir.


Last update: 18 June 2001

http://chard.tuc.noao.edu/mpg/vxworks/linuxHostingVx.html
behzad@noao.edu