MEMORY POOL SYSTEM BUILD NOTES
Richard Kistruck, Ravenbrook Limited, 2005-02-02
CONTENTS
1. Introduction
2. Unix
2.1. Mac OS X
3. Windows
A. References
B. Document history
C. Copyright and license
1. INTRODUCTION
This document contains build notes for the Memory Pool System Kit.
The readership of this document is anyone who wants to build MPS
binaries from the sources. Read the readme.txt file first.
This document is not complete; the MPS kit is buildable on many
platforms that are not mentioned in these notes. The MPS kit is
easy to modify such that it builds on many more.
This document is not confidential.
2. UNIX
Note that the first build in a clean directory will produce warnings
because the dependency files (*.d) do not yet exist. The warnings look
like this:
comm.gmk:533: xcppgc/hi/mpsi.d: No such file or directory
The warnings are normal and do not indicate a problem. After the
warning is emitted, the build-system makes the dependency file.
Subsequent builds in the non-clean directory see these dependency files
and do not emit the warning.
2.1. MAC OS X
2005-02-02
Building on early releases of Mac OS X (DP3? 10.1?) required various
workarounds to get a clean compile. These workarounds have now been
removed from master sources. RHSK.
See
2006-10-10
Intel Macs. It's now possible to use xci3gc.gmk to build on Intel
architectures. Protection and threads not supported.
3. WINDOWS
2005-10-06 (1.105)
All MPS versions are now built with /Gs (for compilations) and /GZ
(for linking). This suppresses stack probe / stack check, which
would otherwise require __chkesp from C library. This change was
necessary to enable the new DLL version of the MPS, "mpsdy.dll".
RHSK.
See
A. REFERENCES
B. DOCUMENT HISTORY
2005-02-02 RHSK Created based on mps kit readme.txt.
2006-10-10 DRJ Note re Intel Macs.
C. COPYRIGHT AND LICENSE
Copyright (C) 2005,2006 Ravenbrook Limited .
All rights reserved. This is an open source license. Contact
Ravenbrook for commercial licensing options.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Redistributions in any form must be accompanied by information on how
to obtain complete source code for this software and any
accompanying software that uses this software. The source code must
either be included in the distribution or be available for no more than
the cost of distribution plus a nominal fee, and must be freely
redistributable under reasonable conditions. For an executable file,
complete source code means the source code for all modules it contains.
It does not include source code for modules or files that typically
accompany the major components of the operating system on which the
executable file runs.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$Id: //info.ravenbrook.com/project/mps/version/1.107/manual/build-notes/index.txt#1 $