home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s038 / 1.ddi / SUPP.LIF / BIND.CSD < prev    next >
Encoding:
Text File  |  1992-07-06  |  1.8 KB  |  45 lines

  1. ;
  2. ;   *-*-* BIND.CSD *-*-*
  3. ;
  4. ;   This submit file contains an example showing the compilation of one
  5. ;   C module and its binding to create a program for execution on the
  6. ;   iRMX III Operating System.
  7. ;
  8. ;   Invocation:  submit /lib/ic386/bind (module)
  9. ;
  10. ;   Where: module - Is the pathname of the module to be compiled and bound.
  11. ;                   This name is assumed to have a '.c' suffix, however, do
  12. ;                   not include it in the pathname.
  13. ;
  14. ;   Notes:
  15. ;   - The module name will be the name of the executable program.
  16. ;     The hello.c and float.c programs can be created with this submit file.
  17. ;   - The ic386 libraries and include files are installed in /lib/ic386.
  18. ;     If this directory is attached with the logicalname :include:, the
  19. ;     iC compiler will automatically search it for include and header files.
  20. ;   - The floating point C libraries are used; non-floating point libraries
  21. ;     may be substituted instead.
  22. ;   - See the iC-86/286/386 Compiler User's Guide for iRMX Systems for
  23. ;     examples of other binding techniques.
  24. ;
  25. ;***************************************************************************
  26. ;
  27. attachfile /lib/ic386 as :include:
  28. ;
  29. ic386 %0.c compact optimize(3) debug %1
  30. ;
  31. bnd386                       &
  32. :include:cstrmx3c.obj      , &  C startup module
  33. %0.obj                     , &  User module - include other modules here
  34. :include:crmx3c.lib        , &  iRMX III Floating-point C-library
  35. /lib/ndp387/cl387n.lib     , &  Floating point support libraries
  36. /lib/ndp387/80387n.lib     , &
  37. /rmx386/lib/rmxifc32.lib     &  iRMX III System Call Interface library
  38. & bind controls
  39. renameseg (code32 to code)   &
  40. segsize (stack(2400h))       &
  41. debug object(%0)             &
  42. rc(dm(4000h,0FFFFFh))
  43. ;
  44. ;    The compilation and binding of %0 is complete.
  45.