home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / M2V11-1.LHA / modula / examples / for_c / README < prev    next >
Encoding:
Text File  |  1994-09-28  |  337 b   |  13 lines

  1. This example illustrates how to call a 'C' language function from Modula-2
  2. The function SayHello() defined in Hello.c is called from test.mod
  3.  
  4. To compile type
  5. >m2b Test.mod Hello.o
  6.  
  7. This wil invoke the following
  8. m2c Test.mod
  9. m2l Test.o Hello.o
  10.  
  11. Where hello.o is object file compiled from Hello.c
  12. Hello.o will be passed through to DLINK.
  13.