root/trunk/README.BUILD

Revision 5, 3.2 kB (checked in by syllogism, 6 years ago)

Initial Commit

Line 
1 /**
2  * Copyright (c) 2006, Jonas Zaddach & Brad DeMorrow
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms,
6  * with or without modification, are permitted provided
7  * that the following conditions are met:
8  *
9  * * Redistributions of source code must retain the above copyright notice,
10  *   this list of conditions and the following disclaimer.
11  * * Redistributions in binary form must reproduce the above copyright notice,
12  *   this list of conditions and the following disclaimer in the documentation
13  *   and/or other materials provided with the distribution.
14  * * Neither the name of the <ORGANIZATION> nor the names of its contributors
15  *   may be used to endorse or promote products derived from this software
16  *   without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28  * POSSIBILITY OF SUCH DAMAGE.
29  */
30  
31 building Llama/osian:
32
33 (something between inverted commas '' means you should type this on
34 your console, without the inverted commas.)
35
36 You'll need the bash shell and sed to execute build scripts.
37 You need gdc (get it from http://home.earthlink.net/~dvdfrdmn/d/ )
38   and build (get it from http://www.dsource.org/projects/build - use
39   Makefile.unix) to compile the d source files.
40 You need nasm (get it from http://nasm.sourceforge.net/ ) to assemble
41   assembler files.
42 You need ld from the binutils package
43   (get it from http://www.gnu.org/software/binutils/ ) to link the object
44   files together.
45 You need mkisofs from the cdrtools package
46   (get it from http://freshmeat.net/projects/cdrecord/ ) to create the iso
47   image.
48 You may optionally use gzip ( http://www.gzip.org/ ) to compress
49   the kernel image.
50 You may optionally use qemu ( http://fabrice.bellard.free.fr/qemu/ ) to test
51   the operating system in an emulator (of course every other emulator should
52   work as well)
53
54   Under Windows you best use cygwin ( http://www.cygwin.com/ ) to compile.
55   GCC from cygwin has gdc included. Under Linux, you can use the packages of
56   your distributor. You may have to recompile gcc sources patched with gdc
57   because gdc won't be included in your distribution's gcc.
58
59 -> enter the main directory (where this file is in)
60 -> type './make' to build
61 -> type './run' if you have qemu installed an in your path to run
62 -> type './clean' to remove temporary files from editor and from build.
63
64 Known-to-work configurations:
65
66 Suse Linux 10.0
67   gcc 4.0.3, gdc 0.17, dmd-script 0.140 (self-compiled)
68   ld 2.16.91.0.2 (from SuSE)
69   nasm 0.98.38 (from Packman)
70   mkisofs 2.01 (from SuSE?)
Note: See TracBrowser for help on using the browser.