Difference between revisions of "SPArch"

From ArchWiki
Jump to: navigation, search
(Getting Arch Linux to run on sparc)
Line 8: Line 8:
  
 
Best approach?:
 
Best approach?:
* Create a toolchain (glibc, zlib, binutils, gcc) using ABS & makepkg from within an untouched gentoo chroot. <- I'm currently compiling them
+
* Create a toolchain (glibc, zlib, binutils, gcc) using ABS and makepkg from within an untouched gentoo (or Debian) chroot.
 
* Compile pacman to a different chroot.
 
* Compile pacman to a different chroot.
 
* Install the toolchain compiled earlier into this chroot.
 
* Install the toolchain compiled earlier into this chroot.

Revision as of 01:20, 4 November 2010

Getting Arch Linux to run on sparc

A bunch more content should be added here:

  • link to build tools
  • package repository
  • etc.

Best approach?:

  • Create a toolchain (glibc, zlib, binutils, gcc) using ABS and makepkg from within an untouched gentoo (or Debian) chroot.
  • Compile pacman to a different chroot.
  • Install the toolchain compiled earlier into this chroot.
  • Install abs.
  • Compile all other packages.

Note: To get the toolchain to compile, edit the PKGBUILDs like this:

 sed -i.old 's/i686/sparc64 i686/' PKGBUILD

and

 sed -i.old 's/depends/#depends/' PKGBUILD; sed -i.old 's/makedepends/#makedepends/' PKGBUILD