summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-18 15:58:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-18 15:58:27 +0200
commit8fc1fc844a9695fb0d1d5d3c13393d4709ce7592 (patch)
tree46beeecc4ef45dec8588882e692d93a051b48a26
parent66fd2858201a2a2c129e710f938d96e64d4701aa (diff)
Add binary package resources
-rw-r--r--binary/common/README (renamed from doc/README)10
-rw-r--r--binary/common/default.options6
-rw-r--r--binary/mingw/README (renamed from doc/README-WIN)22
-rw-r--r--binary/mingw/default.options8
-rw-r--r--binary/mingw/manifest.txt14
5 files changed, 51 insertions, 9 deletions
diff --git a/doc/README b/binary/common/README
index 3cf3dd7..06b6a9b 100644
--- a/doc/README
+++ b/binary/common/README
@@ -11,6 +11,7 @@ compiler. The top-level directory structure of this package is as
follows:
bin/ ODB compiler binary
+etc/ ODB compiler configuration
doc/ ODB system documentation
man/ man pages for the ODB compiler
<arch>-<os>/ GCC compiler binaries, see manifest inside for details
@@ -27,10 +28,17 @@ example:
export PATH=/opt/odb-x.y.z-i686-linux-gnu/bin:$PATH
odb --version
+If you have commonly-used libraries that are not installed into one of the
+default locations (normally /usr/include and /usr/local/include) and you
+would like to add them to the ODB compiler header search list, then you
+can add their include directories to the etc/odb/default.options file.
+For more information, refer to the instructions at the beginning of this
+file.
+
Note also that while you can move the ODB compiler directory around, you
cannot move individual sub-directories or files inside it. For example,
copying or linking the ODB compiler executable to /usr/local/bin/ will
not work.
-Send questions, bug reports, or any other feedback to the
+Send questions, bug reports, or any other feedback to the
odb-users@codesynthesis.com mailing list.
diff --git a/binary/common/default.options b/binary/common/default.options
new file mode 100644
index 0000000..9445abc
--- /dev/null
+++ b/binary/common/default.options
@@ -0,0 +1,6 @@
+# Default ODB options file. This file is automatically loaded by the ODB
+# compiler and can be used for installation-wide customizations, such as
+# adding an include search path for a commonly used library. For example:
+#
+# -I /opt/boost_1_45_0
+#
diff --git a/doc/README-WIN b/binary/mingw/README
index 7db442d..390f3b3 100644
--- a/doc/README-WIN
+++ b/binary/mingw/README
@@ -10,19 +10,19 @@ This package contains the pre-compiled binary distribution of the ODB
compiler for Windows. The top-level directory structure of this package
is as follows:
-bin/ ODB compiler binary
-doc/ ODB system documentation
-man/ man pages for the ODB compiler
-mingw/ GCC compiler, MinGW, and MSYS binaries, see manifest
+bin\ ODB compiler binary
+etc\ ODB compiler configuration
+doc\ ODB system documentation
+man\ man pages for the ODB compiler
+mingw\ GCC compiler, MinGW, and MSYS binaries, see manifest
inside for details
To install this package simply unpack it into a directory of your choice,
for example C:\tools. The ODB compiler binary will be in the bin\
-directory inside the package directory, for example
+directory inside the package directory, for example
C:\tools\odb-x.y.z-i686-windows\bin\. You can run the ODB compiler by
either using the absolute path, for example:
-
C:\tools\odb-x.y.z-i686-windows\bin\odb --version
Or you can add the bin\ directory to the Path environment variable. To
@@ -37,10 +37,16 @@ for example:
odb --version
+If you would like to add commonly-used libraries, such as Boost or Qt,
+to the ODB compiler header search list, you can add them to the
+etc\odb\default.options file (this file serves a similar purpose in ODB
+as the VC++ Directories dialog in VC++). For more information, refer to
+the instructions at the beginning of this file.
+
Note also that while you can move the ODB compiler directory around, you
-cannot move individual sub-directories or files inside it. For example,
+cannot move the individual sub-directories or files inside it. For example,
copying the ODB compiler executable to
C:\Windows will not work.
-Send questions, bug reports, or any other feedback to the
+Send questions, bug reports, or any other feedback to the
odb-users@codesynthesis.com mailing list.
diff --git a/binary/mingw/default.options b/binary/mingw/default.options
new file mode 100644
index 0000000..89c4f30
--- /dev/null
+++ b/binary/mingw/default.options
@@ -0,0 +1,8 @@
+# Default ODB options file. This file is automatically loaded by the ODB
+# compiler and can be used for installation-wide customizations, such as
+# adding an include search path for a commonly used library. In this
+# regard, the default options file in ODB serves a role similar to the
+# VC++ Directories dialog in VC++. For example:
+#
+# -I C:\boost_1_45_0
+#
diff --git a/binary/mingw/manifest.txt b/binary/mingw/manifest.txt
new file mode 100644
index 0000000..fe8d583
--- /dev/null
+++ b/binary/mingw/manifest.txt
@@ -0,0 +1,14 @@
+This directory contains components from the MinGW and MSYS systems as
+well as the GCC compiler.
+
+The MinGW and GCC distributions are comprised of several different
+packages. Each of the various packages is governed by its own
+individual copyright and licensing terms. Some of those packages are
+licensed by the GNU Public License (GPL) or the GNU Lesser General
+Public License(LGPL), some are licensed in the Public Domain and some
+have their own open-source licenses.
+
+For full source code and licensing details see:
+
+MinGW and MSYS: http://www.mingw.org
+GCC: http://gcc.gnu.org