Meaty Skeleton: Difference between revisions

Jump to navigation Jump to search
Initial pass at cleaning up dependency information
[unchecked revision][unchecked revision]
(grub-pi-bin -> grub-pc-bin)
(Initial pass at cleaning up dependency information)
Line 28:
indirectly other minor Unix and ABI semantics. Adapt what you wish from this
tutorial. Note that the shell script and Make-based build system constructed in
this tutorial is meant for Unix systems, though it should work in Cygwin. There
is no pressing need to make this portable across all operating systems as this
is just an example.
Line 56:
 
You ''must'' configure your cross-binutils with the <tt>--with-sysroot</tt> option, otherwise linking will mysteriously fail with the ''this linker was not configured to use sysroots'' error message. If you forgot to configure your cross-binutils with that option, you'll have to rebuild it, but you can keep your cross-gcc.
 
== Dependencies ==
 
You will need these dependencies in order to complete this tutorial:
 
* i686-elf toolchain, as discussed above.
* GRUB, for the grub-mkrescue command, along with the appropriate runtime files.
* xorriso, the .iso creation engine used by grub-mkrescue.
* GNU make 4.0 or later.
 
This tutorial requires a GNU/Linux system, or a similar enohugh system. The BSD systems may almost work. OS X is not supported but can possibly be made to work with some changes. Windows is not supported, but Windows environments like Cygwin and Windows Subsystem For Linux (WSL) might work.
 
===Ubuntu Debian-family Users ===
 
Install the i686-elf toolchain as described above and then install the packages <tt>xorriso grub-pc-bin</tt>.
 
== System Root ==
Line 1,207 ⟶ 1,222:
 
If you receive odd errors during the build, you may have made a mistake during manual copying, perhaps missed a file, forgotten to make a file executable, or bugs in the highlighting software we use cause unintended whitespace to appear. Perform a git repository clone as described above, and use that code instead, or compare the two directory trees with the <tt>diff(1)</tt> diff command line utility. If you made personal changes to the code, those may be at fault.
 
===Ubuntu Users===
In order to build the iso image one must first install the following packages:
 
- xorriso
 
- grub-pc-bin
 
<source lang="bash">
sudo apt-get install xorriso grub-pc-bin
</source>
 
== Moving Forward ==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu