README
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. This directory contains two very simple VxWorks demonstration programs.
  2. "demo.c" is a simple function that prints its task id and name and its 
  3. startup parameter.
  4. "client.c" is the client side of a simple client/server program that runs
  5. on VxWorks. 
  6. To rebuild "demo.c" and "client.c" simply type:
  7. % make CPU=<CPU_TYPE>
  8. eg:
  9. % make CPU=SPARC
  10. This will install the VxWorks objects "demo.o" and "client.o" in the
  11. $WIND_BASE/target/lib/objSPARCgnutest/ directory.
  12. To rebuilt the server programs that runs on Unix do:
  13. % cc server.c -o server
  14. NOTE: server.c is not available on WIN32 platform.