diff options
Diffstat (limited to 'xsd/INSTALL')
| -rw-r--r-- | xsd/INSTALL | 71 | 
1 files changed, 71 insertions, 0 deletions
| diff --git a/xsd/INSTALL b/xsd/INSTALL new file mode 100644 index 0000000..96e63f9 --- /dev/null +++ b/xsd/INSTALL @@ -0,0 +1,71 @@ +Compiler Prerequisites + +  build-time: + +    - g++              >= 3.4.3   http://gcc.gnu.org +    - build            >= 0.3.10  http://www.codesynthesis.com/projects/build/ +    - cli              >= 1.2.0   http://www.codesynthesis.com/projects/cli/ + +  run-time: + +    - libxerces-c      >= 3.0.0   http://xerces.apache.org/xerces-c/ +    - libcutl          >= 1.8.0   http://www.codesynthesis.com/projects/libcutl/ +    - libxsd-frontend  >= 2.0.0   http://www.codesynthesis.com/projects/libxsd-frontend/ + + +Generated Code Prerequisites + +  build-time: + +    - libxsd (header-only XSD runtime library, part of the XSD distribution) + +  run-time: + +    - libxerces-c >= 3.0.0 (C++/Tree and C++/Parser mappings) +      http://xerces.apache.org/xerces-c/ + +    - libexpat >= 1.95.8 (C++/Parser mapping, alternative to libxerces-c) +      http://www.libexpat.org + + +Building XSD + +  First build (and optionally install) all the prerequisites listed above. +  Alternatively, you can use the xsd+dep package that includes all the +  prerequisites (except g++ and libxerces-c) and can be built with a +  single 'make' invocation. + +  Once the prerequisites are ready, to build the XSD compiler in source +  directory simply run 'make'. You can also build in a separate directory, +  for example: + +  $ mkdir xsd-i686-pc-linux-gnu +  $ cd xsd-i686-pc-linux-gnu +  $ make -f ../xsd-x.y.z/makefile + + +Installing XSD + +  To install XSD, run 'make install'. Use the install_prefix command +  line variable to specify installation location (default is /usr/local), +  for example: + +  $ make install_prefix=/usr install + +  You can fine-tune the installation locations with the following make +  variables: + +  install_prefix       default is /usr/local +  install_data_prefix  default is install_prefix +  install_exec_prefix  default is install_prefix + +  install_bin_dir      default is install_exec_prefix/bin +  install_sbin_dir     default is install_exec_prefix/sbin +  install_lib_dir      default is install_exec_prefix/lib + +  install_data_dir     default is install_data_prefix/share +  install_inc_dir      default is install_data_prefix/include + +  install_doc_dir      default is install_data_dir/doc +  install_man_dir      default is install_data_dir/man +  install_info_dir     default is install_data_dir/info | 
