From 3804f7f85a483edc23e0f47217f143e3102abf26 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 16 Nov 2013 09:46:09 +0200 Subject: Update with new dependencies, etc --- README | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index 7b75780..2cfbe98 100644 --- a/README +++ b/README @@ -1,9 +1,9 @@ -This archive contains pre-configured CodeSynthesis XSD source code -with all its dependencies (except Xerces-C++ and Boost). It allows +This archive contains pre-configured CodeSynthesis XSD source code +with all its dependencies (except Xerces-C++ and Boost). It allows you to build the XSD compiler in non-interactive mode (that is, without answering any configuration questions). -The following GNU tools are required to build XSD. Any fairly recent +The following GNU tools are required to build XSD. Any fairly recent GNU/Linux distribution should have these already installed: GNU bash >= 2.00 (bash --version) http://www.gnu.org/software/bash/ @@ -20,10 +20,12 @@ the CPPFLAGS and LDFLAGS variables, respectively. The build system supports the following variables: +CC (defaults to gcc if not set) CXX (defaults to g++ if not set) AR (defaults to ar if not set) RANLIB (defaults to ranlib if not set) CPPFLAGS +CFLAGS CXXFLAGS LDFLAGS LIBS @@ -32,7 +34,7 @@ BOOST_LINK_SYSTEM For example: -$ make CXX=g++-4.2 CXXFLAGS=-O3 -j 4 +$ make CC=gcc-4.8 CXX=g++-4.8 CFLAGS=-O3 CXXFLAGS=-O3 -j 4 The BOOST_LIB_SUFFIX variable allows you to specify the optional Boost library suffix. For example, if your Boost library names are @@ -41,7 +43,7 @@ set BOOST_LIB_SUFFIX to -gcc41-mt-d. The BOOST_LINK_SYSTEM variable allows you to specify whether the Boost system library should be explicitly linked to which may be -required by newer linkers. The valid values are 'y' (default) and +required by newer linkers. The valid values are 'y' (default) and 'n'. If you would like to see the full compiler/linker/etc., command lines, @@ -49,7 +51,7 @@ you can add verbose=1 to the make command line: $ make verbose=1 -After the build is complete, the XSD compiler can be found in the +After the build is complete, the XSD compiler can be found in the xsd/xsd/ directory and the runtime headers in the xsd/libxsd/ directory. You can install the XSD compiler, runtime library, and documentation with the install target, for example: -- cgit v1.1