Changes between Version 5 and Version 6 of BuildingExamples
- Timestamp:
- Jun 16, 2010, 12:46:10 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingExamples
v5 v6 8 8 Building MutekH requires the following software packages: 9 9 10 - A GNU compiler or cross-compiler. You can use the [source:trunk/mutekh/tools/crossgen.mk] script to compile and install a tool chain easily.10 - A GNU compiler or cross-compiler. See below. 11 11 - GNU make (>=3.81) and a perl interpreter (>=5.8), available in most GNU/Linux and BSD operating system. 12 12 13 13 Some builds may require the following additional tools 14 14 15 - The [FlattenedDeviceTree flattened device tree] compiler (dtc): http://git.jdl.com/gitweb/ 16 - The heterogeneous linker found in [source:trunk/mutekh/tools/hlink] 15 - The [FlattenedDeviceTree flattened device tree] compiler (dtc): http://git.jdl.com/gitweb/ . This tool is included in precompiled toolchains. 16 - The heterogeneous linker found in [source:trunk/mutekh/tools/hlink], for heterogeneous platforms only. 17 17 18 18 You may need real hardware or a simulator to run MutekH: 19 19 20 - [http://www.qemu.org/ Qemu] to run native x86 binaries 21 - [https://www.soclib.fr/ SoCLib] to experiment with various multiprocessor platforms (see soclib:InstallationNotes)20 - [http://www.qemu.org/ Qemu] to run native x86 binaries, available in most GNU/Linux distributions. 21 - [https://www.soclib.fr/ SoCLib] to experiment with various multiprocessor platforms. A precompiled SoCLib platform is available [https://www.mutekh.org/www/tools/ here] for test purpose. We suggest building your own platforms by installing SoCLib (see soclib:InstallationNotes). 22 22 23 23 You may need extra tools to deals with kernel images for some targets: 24 24 25 - GNU mtools or mkisofs to create a x86 bootable disk images .26 - GNU grub or etherboot to boot compiled kernel images .25 - GNU mtools or mkisofs to create a x86 bootable disk images, available in most GNU/Linux distributions. 26 - GNU grub or etherboot to boot compiled kernel images, included in boot image in [source:trunk/mutekh/tools/] directory. 27 27 28 28 The [source:trunk/mutekh/tools/x86_cdrom.sh] and [source:trunk/mutekh/tools/x86_floppy.sh] scripts are available to easily create boot disk images. 29 29 30 == Building cross-compilers==30 === GNU toolchain === 31 31 32 MutekH comes with a tool to build a complete cross-compilation toolchain: 32 MutekH comes with a script to build a complete cross-compilation toolchain for you. 33 Some precompiled toolchains are avaialble [https://www.mutekh.org/www/tools/ here] as static i386 Linux binaries for convenience and quick start purpose. It should work on any GNU/Linux i386 and x86_64 distributions. 33 34 34 The script is [source:trunk/mutekh/tools/crossgen.mk tools/crossgen.mk].35 We suggest building your own toolchain if you plan to work with MutekH. The [source:trunk/mutekh/tools/crossgen.mk tools/crossgen.mk] script is able to download, build and install toolchains for you. 35 36 36 37 There is an inline help: