Important Information

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 1. Welcome to SLFS

- Prev

  Contact Information

- Next

  General Libraries and Utilities

- Up
- Home

# Important Information

BLFS has more information regarding compilation, /usr vs /usr/local, boot scripts, etc. at https://linuxfromscratch.org/blfs/view/13.0-systemd/introduction/important.html. Unlike this book, this would be a chapter in BLFS. A lot of that information has been omitted as this book is more linear and doesn't follow how BLFS follows. However, we will cover some bases here.

## OpenGL

There are two main OpenGL vendors on linux: Mesa and libglvnd. BLFS installs Mesa as the vendor. GLFS installs libglvnd as the vendor. This book mainly sees OpenGL in general and most packages work just fine. However, some are known to require fixes, either simple or too elaborate. They require extra resources to test, which the team behind this book does not have. So Mesa's OpenGL implementations are not supported. As a starting point, you can see SLFS 12.4 and see how to go about fixing what is broken. See GLFS: About OpenGL for more information about why support for Mesa's OpenGL implementations have been dropped from both this book and GLFS.

## Building software

Building software on SLFS is identical to how it's done in the LFS books. It goes without saying firstmost that you should have `MAKEFLAGS` set to save yourself a lot of time. This is useful for the make utility to use the amount of threads that you both want and have.

    export MAKEFLAGS='-jx'

Replace `x` with the amount of threads you have. You can check the amount of threads you have with:

    grep processor /proc/cpuinfo

### Important

Make sure that you have enough RAM for your system! A general method is having 2.5G per thread that is thrown at make. For instance, if you want to use 6 threads, multiply 6 by 2.5 (which is 15), then make sure you have 15G of RAM. If you don't have that RAM, try and limit the threads you throw at make.

- Prev

  Contact Information

- Next

  General Libraries and Utilities

- Up
- Home