/homebrew-build-linux-mac

brew formulae to build linux ON MAC

Primary LanguageRubyBoost Software License 1.0BSL-1.0

build-linux

brew formulae to build linux ON MAC

Instructions

(Do not execute these instructions, the project isn't over) (If you installed nsabovic/homebrew-public version, uninstall it because it will conflict with our fixes (brew uninstall elf-header && brew untap nsabovic/homebrew-public))

  1. Install brew at brew.sh
  2. Execute in Terminal brew install omerien/build-linux-mac/build-linux
  3. Write this in your .bash_profile (you can remove it after building the kernel) : PATH="/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/make/libexec/gnubin:$PATH" and PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/ncurses/lib/pkgconfig"
  4. Oh and write also this in your .bash_profile (if not already written) : CPATH=/opt/homebrew/include LIBRARY_PATH=/opt/homebrew/lib
  5. Execute build-linux setup (if you already ran it in a previous build, do not run it.)
  6. Execute build-linux menu-config (it should prompt you the make menuconfig menu)
  7. Execute build-linux build-it (it should give you the builded linux)

Contributors :

  • Me, omerien / omerien2

Sources