diff options
Diffstat (limited to 'dist/etc')
-rw-r--r-- | dist/etc/evc-4.0/config.nmake | 138 | ||||
-rw-r--r-- | dist/etc/iphone/config-device.make | 142 | ||||
-rw-r--r-- | dist/etc/iphone/config-simulator.make | 142 | ||||
-rw-r--r-- | dist/etc/lynxos/config-4.2.make | 141 | ||||
-rw-r--r-- | dist/etc/qnx/config-6.3-gcc-2.95.make | 140 | ||||
-rw-r--r-- | dist/etc/qnx/config-6.3-gcc-3.3.make | 140 | ||||
-rw-r--r-- | dist/etc/qnx/config-6.4.make | 140 | ||||
-rw-r--r-- | dist/etc/vc-8.0/config-max.nmake | 139 | ||||
-rw-r--r-- | dist/etc/vc-8.0/config-min.nmake | 139 | ||||
-rwxr-xr-x | dist/etc/vc-8.0/vcvarssd.bat | 39 | ||||
-rw-r--r-- | dist/etc/vc-9.0/config-max.nmake | 139 | ||||
-rw-r--r-- | dist/etc/vc-9.0/config-min.nmake | 139 | ||||
-rwxr-xr-x | dist/etc/vc-9.0/vcvarssd.bat | 39 | ||||
-rw-r--r-- | dist/etc/vxworks/config-5.5.1.make | 141 | ||||
-rw-r--r-- | dist/etc/vxworks/config-max-6.4.make | 152 | ||||
-rw-r--r-- | dist/etc/vxworks/config-min-6.4.make | 140 |
16 files changed, 2050 insertions, 0 deletions
diff --git a/dist/etc/evc-4.0/config.nmake b/dist/etc/evc-4.0/config.nmake new file mode 100644 index 0000000..78d5840 --- /dev/null +++ b/dist/etc/evc-4.0/config.nmake @@ -0,0 +1,138 @@ +# Sample configuration file for Windows CE 4.0 on ARMv4 using eMbedded +# Visual C++ 4.0. While this configuration disables STL and C++ exceptions, +# those are supported on WinCE and can be enabled. +# + +# Toolchain. +# +CC = clarm.exe +CFLAGS = /nologo /W3 /O1 +CPPFLAGS = /DARM /D_ARM /D_ARMV4 /DUNDER_CE=0x400 /D_WIN32_WCE=0x400 + +CXX = clarm.exe +CXXFLAGS = /nologo /W3 /O1 + +LD = link.exe +LDFLAGS = /nologo /subsystem:windowsce,4.00 /entry:main /machine:ARM +LIBS = + +AR = lib.exe +ARFLAGS = /nologo + + +# Common XSD/e flags. +# +XSDFLAGS = --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM = wince + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH = 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER = l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL = n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM = n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS = n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG = n + + +# Set to 'n' if your platform doesn't have the _snprintf function. +# +XSDE_SNPRINTF = n + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION = y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE = tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC = n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS = 53 +XSDE_PARSER_IMAP_BUCKETS = 97 +XSDE_SERIALIZER_SMAP_BUCKETS = 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS = 53 +XSDE_SERIALIZER_IMAP_BUCKETS = 97 + + +# Options tuning depending on the features selected. +# +!if "$(XSDE_EXCEPTIONS)" == "y" +CFLAGS = $(CFLAGS) /EHs +CXXFLAGS = $(CXXFLAGS) /EHs +!endif diff --git a/dist/etc/iphone/config-device.make b/dist/etc/iphone/config-device.make new file mode 100644 index 0000000..84fd828 --- /dev/null +++ b/dist/etc/iphone/config-device.make @@ -0,0 +1,142 @@ +# Sample configuration file for iPhone OS 2.x using XCode 3.1.x iPhone +# SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneOS.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneOS2.0.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-gcc-4.0.1 +CFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-g++-4.0.1 +CXXFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/iphone/config-simulator.make b/dist/etc/iphone/config-simulator.make new file mode 100644 index 0000000..fc9ab84 --- /dev/null +++ b/dist/etc/iphone/config-simulator.make @@ -0,0 +1,142 @@ +# Sample configuration file for iPhone Simulator 2.x using XCode 3.1.x +# iPhone SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneSimulator.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneSimulator2.0.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-gcc-4.0.1 +CFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-g++-4.0.1 +CXXFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/lynxos/config-4.2.make b/dist/etc/lynxos/config-4.2.make new file mode 100644 index 0000000..56ff0e1 --- /dev/null +++ b/dist/etc/lynxos/config-4.2.make @@ -0,0 +1,141 @@ +# Sample configuration file for LynxOS 4.2 on x86 using the gcc +# 3.2.2 toolchain. This configuration enables STL, iostream, and +# C++ exceptions which can be disabled if not required. For the +# PowerPC target simply change the XSDE_BYTEORDER parameter. +# + +# Toolchain. +# +CC := gcc +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := g++ +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := ar +ARFLAGS := rc +RANLIB := ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := n + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/qnx/config-6.3-gcc-2.95.make b/dist/etc/qnx/config-6.3-gcc-2.95.make new file mode 100644 index 0000000..0b4b28d --- /dev/null +++ b/dist/etc/qnx/config-6.3-gcc-2.95.make @@ -0,0 +1,140 @@ +# Sample configuration file for QNX 6.3 on x86 using gcc/g++ 2.95.3. +# While this configuration disables C++ exceptions, they are supported +# by this platform/compiler and can be enabled. +# + +# Toolchain. +# +CC := ntox86-gcc-2.95.3 +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := ntox86-g++-2.95.3 +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := ntox86-ar +ARFLAGS := rc +RANLIB := ntox86-ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/qnx/config-6.3-gcc-3.3.make b/dist/etc/qnx/config-6.3-gcc-3.3.make new file mode 100644 index 0000000..80343c4 --- /dev/null +++ b/dist/etc/qnx/config-6.3-gcc-3.3.make @@ -0,0 +1,140 @@ +# Sample configuration file for QNX 6.3 on x86 using gcc/g++ 3.3.5. +# This configuration enables STL, iostream, and C++ exceptions which +# can be disabled if not required. +# + +# Toolchain. +# +CC := ntox86-gcc-2.95.3 +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := ntox86-g++-2.95.3 +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := ntox86-ar +ARFLAGS := rc +RANLIB := ntox86-ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/qnx/config-6.4.make b/dist/etc/qnx/config-6.4.make new file mode 100644 index 0000000..d14e458 --- /dev/null +++ b/dist/etc/qnx/config-6.4.make @@ -0,0 +1,140 @@ +# Sample configuration file for QNX 6.4 on x86. This configuration +# enables STL, iostream, and C++ exceptions which can be disabled +# if not required. +# + +# Toolchain. +# +CC := ntox86-gcc +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := ntox86-g++ +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := ntox86-ar +ARFLAGS := rc +RANLIB := ntox86-ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/vc-8.0/config-max.nmake b/dist/etc/vc-8.0/config-max.nmake new file mode 100644 index 0000000..cd1e4a1 --- /dev/null +++ b/dist/etc/vc-8.0/config-max.nmake @@ -0,0 +1,139 @@ +# Sample configuration file for Windows CE 4.2 on ARMv4 using Visual Studio +# 2005 with Smart Devices support. This configuration enables STL, iostream, +# RTTI, and C++ exceptions. See config-min.nmake for a minimal configuration +# with all these options disabled. +# + +# Toolchain. +# +CC = cl.exe +CFLAGS = /nologo /W3 /O1 /MT /GS- +CPPFLAGS = /DARM /D_ARM /DUNDER_CE /DWINCE /D_WIN32_WCE=0x420 + +CXX = cl.exe +CXXFLAGS = /nologo /W3 /O1 /GR /MT /GS- + +LD = link.exe +LDFLAGS = /nologo /entry:main /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE +LIBS = coredll.lib corelibc.lib ccrtrtti.lib /nodefaultlib:oldnames.lib + +AR = lib.exe +ARFLAGS = /nologo + + +# Common XSD/e flags. +# +XSDFLAGS = --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM = wince + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH = 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER = l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL = y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM = y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS = y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG = n + + +# Set to 'n' if your platform doesn't have the _snprintf function. +# +XSDE_SNPRINTF = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION = y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE = tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC = n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS = 53 +XSDE_PARSER_IMAP_BUCKETS = 97 +XSDE_SERIALIZER_SMAP_BUCKETS = 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS = 53 +XSDE_SERIALIZER_IMAP_BUCKETS = 97 + + +# Options tuning depending on the features selected. +# +!if "$(XSDE_EXCEPTIONS)" == "y" +CFLAGS = $(CFLAGS) /EHs +CXXFLAGS = $(CXXFLAGS) /EHs +!endif diff --git a/dist/etc/vc-8.0/config-min.nmake b/dist/etc/vc-8.0/config-min.nmake new file mode 100644 index 0000000..b2f3c6d --- /dev/null +++ b/dist/etc/vc-8.0/config-min.nmake @@ -0,0 +1,139 @@ +# Sample configuration file for Windows CE 4.2 on ARMv4 using Visual Studio +# 2005 with Smart Devices support. This is a minimal configuration with STL, +# iostream, RTTI, and C++ exceptions disabled. See config-max.nmake for the +# a configuration with all these options enabled. +# + +# Toolchain. +# +CC = cl.exe +CFLAGS = /nologo /W3 /O1 /MT /GS- +CPPFLAGS = /DARM /D_ARM /DUNDER_CE /DWINCE /D_WIN32_WCE=0x420 + +CXX = cl.exe +CXXFLAGS = /nologo /W3 /O1 /GR- /MT /GS- + +LD = link.exe +LDFLAGS = /nologo /entry:main /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE +LIBS = coredll.lib corelibc.lib /nodefaultlib:oldnames.lib + +AR = lib.exe +ARFLAGS = /nologo + + +# Common XSD/e flags. +# +XSDFLAGS = --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM = wince + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH = 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER = l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL = n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM = n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS = n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG = n + + +# Set to 'n' if your platform doesn't have the _snprintf function. +# +XSDE_SNPRINTF = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION = y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE = tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC = n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS = 53 +XSDE_PARSER_IMAP_BUCKETS = 97 +XSDE_SERIALIZER_SMAP_BUCKETS = 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS = 53 +XSDE_SERIALIZER_IMAP_BUCKETS = 97 + + +# Options tuning depending on the features selected. +# +!if "$(XSDE_EXCEPTIONS)" == "y" +CFLAGS = $(CFLAGS) /EHs +CXXFLAGS = $(CXXFLAGS) /EHs +!endif diff --git a/dist/etc/vc-8.0/vcvarssd.bat b/dist/etc/vc-8.0/vcvarssd.bat new file mode 100755 index 0000000..955a49f --- /dev/null +++ b/dist/etc/vc-8.0/vcvarssd.bat @@ -0,0 +1,39 @@ +@echo off +REM +REM This .bat file sets the environment variables for Visual Studio +REM 2005 Smart Devices toolchain to allow compilation from the command +REM line or with nmake. Make sure the following four variables are +REM set to the correct values. +REM + +REM +REM Make sure VSINSTALLDIR points to the Visual Studio 2005 installation +REM directory. +REM +SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 2005 + +REM +REM Set the toolchain to use. See VSINSTALLDIR\VC\ce\bin for possible +REM values. +REM +SET TOOLCHAIN=x86_arm + +REM +REM C/C++ runtime to use. See VSINSTALLDIR\VC\ce\lib for possible +REM values. +REM +SET RUNTIME=armv4 + +REM +REM Platform SDK to use. See VSINSTALLDIR\SmartDevices\SDK for +REM what's available (normally PocketPC2003 and Smartphone2003). +REM +SET SDK=PocketPC2003 + +title Visual Studio 2005 Smart Devices Environment for %SDK% on %RUNTIME% +echo Setting environment for Visual Studio 2005 Smart Devices. + +SET VCINSTALLDIR=%VSINSTALLDIR%\VC +SET PATH=%VCINSTALLDIR%\ce\BIN\%TOOLCHAIN%;%VCINSTALLDIR%\BIN;%VSINSTALLDIR%\Common7\IDE;%VSINSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%PATH% +SET INCLUDE=%VCINSTALLDIR%\CE\ATLMFC\INCLUDE;%VCINSTALLDIR%\CE\INCLUDE;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\include;%INCLUDE% +SET LIB=%VCINSTALLDIR%\CE\ATLMFC\LIB\%RUNTIME%;%VCINSTALLDIR%\CE\LIB\%RUNTIME%;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\lib\%RUNTIME%;%LIB% diff --git a/dist/etc/vc-9.0/config-max.nmake b/dist/etc/vc-9.0/config-max.nmake new file mode 100644 index 0000000..24bf39b --- /dev/null +++ b/dist/etc/vc-9.0/config-max.nmake @@ -0,0 +1,139 @@ +# Sample configuration file for Windows CE 4.2 on ARMv4 using Visual Studio +# 2008 with Smart Devices support. This configuration enables STL, iostream, +# RTTI, and C++ exceptions. See config-min.nmake for a minimal configuration +# with all these options disabled. +# + +# Toolchain. +# +CC = cl.exe +CFLAGS = /nologo /W3 /O1 /MT /GS- +CPPFLAGS = /DARM /D_ARM /DUNDER_CE /DWINCE /D_WIN32_WCE=0x420 + +CXX = cl.exe +CXXFLAGS = /nologo /W3 /O1 /GR /MT /GS- + +LD = link.exe +LDFLAGS = /nologo /entry:main /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE +LIBS = coredll.lib corelibc.lib ccrtrtti.lib /nodefaultlib:oldnames.lib + +AR = lib.exe +ARFLAGS = /nologo + + +# Common XSD/e flags. +# +XSDFLAGS = --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM = wince + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH = 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER = l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL = y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM = y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS = y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG = n + + +# Set to 'n' if your platform doesn't have the _snprintf function. +# +XSDE_SNPRINTF = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION = y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE = tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC = n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS = 53 +XSDE_PARSER_IMAP_BUCKETS = 97 +XSDE_SERIALIZER_SMAP_BUCKETS = 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS = 53 +XSDE_SERIALIZER_IMAP_BUCKETS = 97 + + +# Options tuning depending on the features selected. +# +!if "$(XSDE_EXCEPTIONS)" == "y" +CFLAGS = $(CFLAGS) /EHs +CXXFLAGS = $(CXXFLAGS) /EHs +!endif diff --git a/dist/etc/vc-9.0/config-min.nmake b/dist/etc/vc-9.0/config-min.nmake new file mode 100644 index 0000000..c085f97 --- /dev/null +++ b/dist/etc/vc-9.0/config-min.nmake @@ -0,0 +1,139 @@ +# Sample configuration file for Windows CE 4.2 on ARMv4 using Visual Studio +# 2008 with Smart Devices support. This is a minimal configuration with STL, +# iostream, RTTI, and C++ exceptions disabled. See config-max.nmake for the +# a configuration with all these options enabled. +# + +# Toolchain. +# +CC = cl.exe +CFLAGS = /nologo /W3 /O1 /MT /GS- +CPPFLAGS = /DARM /D_ARM /DUNDER_CE /DWINCE /D_WIN32_WCE=0x420 + +CXX = cl.exe +CXXFLAGS = /nologo /W3 /O1 /GR- /MT /GS- + +LD = link.exe +LDFLAGS = /nologo /entry:main /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE +LIBS = coredll.lib corelibc.lib /nodefaultlib:oldnames.lib + +AR = lib.exe +ARFLAGS = /nologo + + +# Common XSD/e flags. +# +XSDFLAGS = --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM = wince + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH = 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER = l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL = n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM = n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS = n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG = n + + +# Set to 'n' if your platform doesn't have the _snprintf function. +# +XSDE_SNPRINTF = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION = y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION = y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE = tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC = n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS = 53 +XSDE_PARSER_IMAP_BUCKETS = 97 +XSDE_SERIALIZER_SMAP_BUCKETS = 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS = 53 +XSDE_SERIALIZER_IMAP_BUCKETS = 97 + + +# Options tuning depending on the features selected. +# +!if "$(XSDE_EXCEPTIONS)" == "y" +CFLAGS = $(CFLAGS) /EHs +CXXFLAGS = $(CXXFLAGS) /EHs +!endif diff --git a/dist/etc/vc-9.0/vcvarssd.bat b/dist/etc/vc-9.0/vcvarssd.bat new file mode 100755 index 0000000..0481a12 --- /dev/null +++ b/dist/etc/vc-9.0/vcvarssd.bat @@ -0,0 +1,39 @@ +@echo off +REM +REM This .bat file sets the environment variables for Visual Studio +REM 2008 Smart Devices toolchain to allow compilation from the command +REM line or with nmake. Make sure the following four variables are +REM set to the correct values. +REM + +REM +REM Make sure VSINSTALLDIR points to the Visual Studio 2008 installation +REM directory. +REM +SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0 + +REM +REM Set the toolchain to use. See VSINSTALLDIR\VC\ce\bin for possible +REM values. +REM +SET TOOLCHAIN=x86_arm + +REM +REM C/C++ runtime to use. See VSINSTALLDIR\VC\ce\lib for possible +REM values. +REM +SET RUNTIME=armv4 + +REM +REM Platform SDK to use. See VSINSTALLDIR\SmartDevices\SDK for +REM what's available (normally PocketPC2003 and Smartphone2003). +REM +SET SDK=PocketPC2003 + +title Visual Studio 2008 Smart Devices Environment for %SDK% on %RUNTIME% +echo Setting environment for Visual Studio 2008 Smart Devices. + +SET VCINSTALLDIR=%VSINSTALLDIR%\VC +SET PATH=%VCINSTALLDIR%\ce\BIN\%TOOLCHAIN%;%VCINSTALLDIR%\BIN;%VSINSTALLDIR%\Common7\IDE;%VSINSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%PATH% +SET INCLUDE=%VCINSTALLDIR%\CE\ATLMFC\INCLUDE;%VCINSTALLDIR%\CE\INCLUDE;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\include;%INCLUDE% +SET LIB=%VCINSTALLDIR%\CE\ATLMFC\LIB\%RUNTIME%;%VCINSTALLDIR%\CE\LIB\%RUNTIME%;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\lib\%RUNTIME%;%LIB% diff --git a/dist/etc/vxworks/config-5.5.1.make b/dist/etc/vxworks/config-5.5.1.make new file mode 100644 index 0000000..2de4676 --- /dev/null +++ b/dist/etc/vxworks/config-5.5.1.make @@ -0,0 +1,141 @@ +# Sample configuration file for VxWorks 5.5.1 on PowerPC 603 using +# Tornado 2.2 GNU toolchain. While this configuration disables STL +# and C++ exceptions, those are supported on VxWorks and can be +# enabled. +# + +# Toolchain. +# +CC := ccppc +CFLAGS := -W -Wall -O3 -mlongcall -mcpu=603 -mstrict-align -ansi -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -fsigned-char +CPPFLAGS := + +CXX := ccppc +CXXFLAGS := -W -Wall -O3 -mlongcall -mcpu=603 -mstrict-align -ansi -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -fsigned-char + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) -r -nostdlib -Wl,-X +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := arppc +ARFLAGS := rc +RANLIB := ranlibppc + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := b + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := n + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := n + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/vxworks/config-max-6.4.make b/dist/etc/vxworks/config-max-6.4.make new file mode 100644 index 0000000..5aa80e8 --- /dev/null +++ b/dist/etc/vxworks/config-max-6.4.make @@ -0,0 +1,152 @@ +# Sample configuration file for VxWorks 6.4 on Pentium using the +# GNU toolchain. This configuration enables STL, iostream, and +# C++ exceptions which can be disabled if not required. +# +# Note that iostream support requires static initialization so +# you will need to 'munch' the examples (and your application) +# before you can run them. Here are the sample step that are +# needed to run the C++/Hybrid 'library' example: +# +# $ cd examples/cxx/hybrid/library/ +# $ make +# $ mv driver partial-image.o +# $ nmpentium *.o | tclsh .../vxworks-6.4/host/resource/hutils/tcl/munch.tcl -c pentium > ctdt.c +# $ ccpentium -O3 -c -fdollars-in-identifiers -fno-zero-initialized-in-bss ctdt.c -o ctdt.o +# $ ccpentium -O3 partial-image.o ctdt.o -o driver +# + +# Toolchain. +# +CC := ccpentium +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := ccpentium +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := arpentium +ARFLAGS := rc +RANLIB := ranlibpentium + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := n + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := n + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/vxworks/config-min-6.4.make b/dist/etc/vxworks/config-min-6.4.make new file mode 100644 index 0000000..522771f --- /dev/null +++ b/dist/etc/vxworks/config-min-6.4.make @@ -0,0 +1,140 @@ +# Sample configuration file for VxWorks 6.4 on Pentium using the +# GNU toolchain. This configuration disables STL, iostream, and +# C++ exceptions which can be enabled if required. +# + +# Toolchain. +# +CC := ccpentium +CFLAGS := -W -Wall -O3 +CPPFLAGS := + +CXX := ccpentium +CXXFLAGS := -W -Wall -O3 + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := arpentium +ARFLAGS := rc +RANLIB := ranlibpentium + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := n + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := n + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := n + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := n + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := n + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif |