home *** CD-ROM | disk | FTP | other *** search
- ;
- ; *-*-* BIND.CSD *-*-*
- ;
- ; This submit file contains an example showing the compilation of one
- ; C module and its binding to create a program for execution on the
- ; iRMX III Operating System.
- ;
- ; Invocation: submit /lib/ic386/bind (module)
- ;
- ; Where: module - Is the pathname of the module to be compiled and bound.
- ; This name is assumed to have a '.c' suffix, however, do
- ; not include it in the pathname.
- ;
- ; Notes:
- ; - The module name will be the name of the executable program.
- ; The hello.c and float.c programs can be created with this submit file.
- ; - The ic386 libraries and include files are installed in /lib/ic386.
- ; If this directory is attached with the logicalname :include:, the
- ; iC compiler will automatically search it for include and header files.
- ; - The floating point C libraries are used; non-floating point libraries
- ; may be substituted instead.
- ; - See the iC-86/286/386 Compiler User's Guide for iRMX Systems for
- ; examples of other binding techniques.
- ;
- ;***************************************************************************
- ;
- attachfile /lib/ic386 as :include:
- ;
- ic386 %0.c compact optimize(3) debug %1
- ;
- bnd386 &
- :include:cstrmx3c.obj , & C startup module
- %0.obj , & User module - include other modules here
- :include:crmx3c.lib , & iRMX III Floating-point C-library
- /lib/ndp387/cl387n.lib , & Floating point support libraries
- /lib/ndp387/80387n.lib , &
- /rmx386/lib/rmxifc32.lib & iRMX III System Call Interface library
- & bind controls
- renameseg (code32 to code) &
- segsize (stack(2400h)) &
- debug object(%0) &
- rc(dm(4000h,0FFFFFh))
- ;
- ; The compilation and binding of %0 is complete.
-