- Timestamp:
- Jun 29, 2005, 12:54:21 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HowToBuild.txt
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2101 r2102 1 You didn't get this from anywhere or you own all the necessary licenses.2 1 3 1. go to the tools/ directory and do: unzip packages/*.zip 4 2. back to root. 2 Tree Preparation 3 ----------------- 4 5 1. Check out the tree / Unpack the source and tools zip into an empty tree 6 It is possible to use the netlabs CVS for src/emx. 7 2. Prepare the tools: 8 a) From tools/ directory and do: 9 unzip packages/*.zip 10 b) Copy / unzip the gcc installation to tools/x86.os2/gcc/. 11 c) Rename tools/x86.os2/gcc/usr to tools/x86.os2/gcc/staged. 12 d) Execute tools/x86.os2/gcc/staged/lib/MakeOmfLibs.cmd. 5 13 3. Setup the environment: tools/env.cmd 6 4. Do a 'make' to build everything - look in Makefile for7 subtargets (all-emx, all-gcc, all-binutils).8 5. The output goes into obj/OS2/DEBUG/[emx|gcc|binutils]. During the9 build the built stuff is installed into obj/OS2/DEBUG/builtunix/ and10 used since this is the head of all the search paths.11 6. The distributable stuff goes into bin/OS2/DEBUG/3.3.5-beta5/.12 14 15 16 17 Building 18 -------- 19 20 Make sure you have setup up the environment, see 3. above. 21 22 Use 'make' from the root directory to build things. The default target 23 is called 'quick' and will to a quick build of everything assuming that 24 gcc and libs level is pretty much the same as the one you're building. 25 26 When doing this kind of build, we install the subcomponent as they are 27 built into 'obj/OS2/DEBUG/builtunix' and uses them for the building the 28 rest. The builtunix directory is at the head of all paths setup by the 29 env.cmd script. 30 31 When everything has been built, it is installed into 32 bin/OS2/DEBUG/3.3.5-beta5/ (or whatever the release is set to). 33 34 35 Other common targets are: 36 'double-quick' - used for releases. do two cycles of 'quick'. 37 'emx' - builds emx 38 'emx-quick-libs' - libraries 39 'emx-quick-libs-install' - installs into builtunix 40 'emx-quick-rest' - toolchain 41 'emx-quick-rest-install' - installs into builtunix 42 'binutils-quick' - builds binutils 43 'binutils-quick-installstage' - installs into builtunix 44 'gcc-quick' - builds gcc 45 'gcc-quick-installstage' - installs into builtunix 46 'gcc' - bootstraps gcc (might be broken) 47 48 See Makefile for full reference on these and other targets. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.