home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / MorphOS / morphosdev-150201.lha / emulinclude / README.emm < prev    next >
Encoding:
Text File  |  2001-02-14  |  1.0 KB  |  26 lines

  1.  
  2. I modified fd2inline to make it generate MorphOS stubs.
  3.  
  4. Usage: fd2inline --morphos --stubs fdfile clibfile
  5.  
  6. Attn: those stubs currently don't work for non-tags varargs functions,
  7. except if they are called with a small number of arguments (<=8 I think).
  8.  
  9. I added a sh script to generate link libraries from fd & clib files
  10. automatically: emulinclude/genstubs.sh
  11. There are a few variables at the top of the script that may need
  12. to be configured to suit your environment (especially $CC).
  13.  
  14. I also modified emulinclude/Makefile to create stubs libraries:
  15.     make CREATESTUBSNEW will create lib/libsomething.a for
  16.             each something_lib.fd file in includenew/fd.
  17.     make CREATESTUBS3RD will create lib/libsomething.a for
  18.             each something_lib.fd file in include3rd/fd.
  19.     make CREATESTUBS will do both, and also add to lib/libamiga.a
  20.              all the stubs for the system libraries from include/fd.
  21.  
  22. Attn: the amigaguide_lib.fd file needs to be fixed first: the '*' in
  23. the OpenAmigaGuideA prototype needs to be replaced by 'attr' or something.
  24.  
  25.  
  26.