home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / exml.lha / exml / Readme.amiga < prev   
Text File  |  1999-10-10  |  2KB  |  62 lines

  1. If you want to use eXML for own projects, use
  2. ${EXML}/examples/se_test/ as starting point, in particular the
  3. smakefile and SCOPTIONS.
  4.  
  5. Forget all the makefile mess in the expat drawer, you don't need it;
  6. eXML also only compiles the necessary objects in its own makefiles.
  7.  
  8. Several changes had to be applied on eXML before it worked with Sofa:
  9.  
  10. - Added
  11.  
  12.      ${EXML}/compiler_specific/se/smakefile and
  13.      ${EXML}/examples/se_test/smakefile
  14.  
  15.   These are the only two makefiles you need to compile the example in
  16.   se_test.
  17.  
  18.   Trying to change the rather chaotic Makefile.linux and make_incl_#?
  19.   stuff didn't seem sensible to me.
  20.  
  21. - Added SCOPTIONS for every smakefile. They should work, but are not
  22.   particular optimized.
  23.  
  24. - In ${EXML}/examples/se_test/root_class.e, the line
  25.  
  26.      !! f.connect_to ("..\test_data\test.xml")
  27.  
  28.   has been replaced by
  29.  
  30.      !! f.connect_to ("/test_data/test.xml")
  31.  
  32. - In ${EXML}/compiler_specific/se/clib/exml_parser.c, the lines
  33.  
  34.      #include <xmlparse.h>
  35.      #include <exml_parser_callbacks.h>
  36.  
  37.   have been replaced by
  38.  
  39.      #include "xmlparse.h"
  40.      #include "exml_parser_callbacks.h"
  41.  
  42.   This is a rather grey area in the ANSI definition of the C
  43.   preprocessor, but the second one works well with an appropriate
  44.   INCLUDEDIR passed to sc.
  45.  
  46. - In ${EXML}/compiler_specific/se/clib, renamed
  47.  
  48.      expat_parser_error_codes_wrap.c
  49.  
  50.   to
  51.  
  52.      expat_parser_error_codes.c
  53.  
  54.   due to limited length of of AmigaOS file system. Note that SE
  55.   internally adds a ".tmp" suffix to filenames, so even
  56.   "expat_parser_error_codes_wrp.c" wouldn't work.
  57.  
  58. - Removed all #?.(dll|exe|msc|scc|...) files because I didn't see
  59.   any point including them into the Amiga release.
  60.  
  61. Thomas.
  62.