Downloading Programs to VxWorks

To download your code to a VxWorks target, use the VxWorks linker/loader, called "ld". "ld" reads from standard input, so you need to redirect the input of the command from your object file. For example, to load an object in /home/myaccount/vxtest.o, use:

	ld < /home/myaccount/vxtest.o

This assumes that the target has access to the appropriate filesystem. See the Filesystems Tutorial for more information on this topic.

Remember that to successfully load an object, any functions which it uses must have already been loaded. So if package B uses package A, A must be loaded before B.