aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:42:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:42:06 +0200
commit428be021e7f572bded2357fff5e94ee6ab4edfb5 (patch)
tree9fdd0695afbc6b9b425cf3d244823b2660679bed
parent67594069075b97ed047d3cbc1767901fd89de4ec (diff)
Update with new instructions
-rw-r--r--README53
1 files changed, 30 insertions, 23 deletions
diff --git a/README b/README
index 8b00f95..63e8fa9 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
This archive contains pre-configured CodeSynthesis XSD/e source code
-with all its dependencies (except Xerces-C++ and Boost) as well as a
-build script that builds the XSD/e compiler in non-interactive mode
-(that is, without asking any questions).
+with all its dependencies (except Xerces-C++ and Boost). It allows
+you to build the XSD/e compiler in non-interactive mode (that is,
+without answering any configuration questions).
The following GNU tools are required to build XSD/e. Any fairly recent
GNU/Linux distribution should have these already installed:
@@ -11,44 +11,51 @@ GNU m4 >= 1.4 (m4 --version) http://www.gnu.org/software/m4/
GNU make >= 3.81 (make --version) http://www.gnu.org/software/make/
GNU g++ >= 3.4.3 (g++ --version) http://gcc.gnu.org/
-The build script expects you to have the Xerces-C++ (2.6.0 or later)
+The build system expects you to have the Xerces-C++ (2.6.0 or later)
as well as Boost filesystem and regex (1.33.1 or later) libraries
-built and installed in a location where the g++ compiler looks by
+built and installed in a location where the C++ compiler looks by
default (normally /usr/lib/ and /usr/local/lib/). Alternatively, you
-can install them into the stage/ directory in this package or provide
-include (-I) and library (-L) paths via the CPPFLAGS and LDFLAGS
-variables, respectively.
+can provide include (-I) and library (-L) paths for this packages via
+the CPPFLAGS and LDFLAGS variables, respectively.
-The script supports the following standard variables:
+The build system supports the following variables:
-CXX (defaults to g++ if not set)
+CXX (defaults to g++ if not set)
CPPFLAGS
CXXFLAGS
LDFALGS
LIBS
-MAKEFLAGS
+BOOST_LIB_SUFFIX
For example:
-$ CXX=g++-4.2 CXXFLAGS=-O3 MAKEFLAGS=-j4 ./build.sh
+$ make CXX=g++-4.2 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
+in the libboost_regex-gcc41-mt-d.so format, then you will need to
+set BOOST_LIB_SUFFIX to -gcc41-mt-d.
If you would like to see the full compiler/linker/etc., command lines,
-you can add verbose=1 to MAKEFLAGS, for example:
+you can add verbose=1 to the make command line:
+
+$ make verbose=1
+
+After the build is complete, the XSD/e compiler can be found in the
+xsde/xsde/ directory. You can also create a distribution package with
+the XSD/e compiler binary, source code and build system for the runtime
+library and examples, as well as the documentation using the dist and
+dist-win targets, for example:
-MAKEFLAGS="verbose=1" ./build.sh
+$ make dist_prefix=./xsde-x.y.z dist
-After the build, the XSD/e compiler can be found in the xsde-x.y.z/xsde/
-directory. You can also create a distribution package with the XSD/e
-compiler binary, source code and build system for the runtime library
-and examples, as well as the documentation using the dist target, for
-example:
+Or, for Windows:
-$ ./build.sh dist
+$ make dist_prefix=./xsde-x.y.z dist-win
-The distribution files are placed into the dist/xsde-x.y.z/ directory. The
-build script also supports the clean target:
+The build system also supports the clean target:
-$ ./build.sh clean
+$ make clean
Send bug reports or any other feedback to the xsde-users@codesynthesis.com
mailing list.