Print this page
README.xbuild update


   6 
   7 
   8 Welcome brave fool. Don't Panic! The writer of this README is an even bigger
   9 fool than you could be (even if old Ben wonders if those who follow fools are
  10 more foolish).
  11 
  12 So here's where you get started building illumos on ARM.
  13 
  14 Step 1) You need to get a build environment set up. There's the easy way and the
  15 fun way.
  16 
  17 Easy way:
  18 
  19 cd $HOME
  20 curl -O https://fingolfin.org/illumos/arm/armtc.tar.gz
  21 pfexec tar xvzf armtc.tar.gz -C /
  22 find /opt/armtc
  23 
  24 Fun way:
  25 
  26 Clone this repository again and do a normal i386 on i386 build.





  27 mkdir -p /opt/armtc/lib/amd64 /opt/armtc/usr/bin/amd64
  28 cd /opt/armtc/lib/
  29 ln -s amd64 64
  30 cd ../usr/bin
  31 ln -s amd64 64
  32 
  33 Then from your proto area, install the following:
  34  o /usr/bin/ld
  35  o /usr/bin/amd64/ld
  36  o /lib/libld.so.4
  37  o /lib/amd64/libld.so.4
  38  o /lib/liblddbg.so.4
  39  o /lib/amd64/liblddb.so.4
  40  o /lib/libelf.so.1
  41  o /lib/amd64/libelf.so.1
  42 
  43 Now that's all set go grab illumos-arm-extra (git clone
  44 gitosis@zelgadis.fingolfin.org:illumos-arm-extra.git) and build that. You'll
  45 need something like:
  46 




   6 
   7 
   8 Welcome brave fool. Don't Panic! The writer of this README is an even bigger
   9 fool than you could be (even if old Ben wonders if those who follow fools are
  10 more foolish).
  11 
  12 So here's where you get started building illumos on ARM.
  13 
  14 Step 1) You need to get a build environment set up. There's the easy way and the
  15 fun way.
  16 
  17 Easy way:
  18 
  19 cd $HOME
  20 curl -O https://fingolfin.org/illumos/arm/armtc.tar.gz
  21 pfexec tar xvzf armtc.tar.gz -C /
  22 find /opt/armtc
  23 
  24 Fun way:
  25 
  26 Using a normal i386 on i386 build:
  27 cd usr/src
  28 dmake setup
  29 cd cmd/sgs
  30 dmake install
  31 
  32 mkdir -p /opt/armtc/lib/amd64 /opt/armtc/usr/bin/amd64
  33 cd /opt/armtc/lib/
  34 ln -s amd64 64
  35 cd ../usr/bin
  36 ln -s amd64 64
  37 
  38 Then from your proto area, install the following:
  39  o /usr/bin/ld
  40  o /usr/bin/amd64/ld
  41  o /lib/libld.so.4
  42  o /lib/amd64/libld.so.4
  43  o /lib/liblddbg.so.4
  44  o /lib/amd64/liblddb.so.4
  45  o /lib/libelf.so.1
  46  o /lib/amd64/libelf.so.1
  47 
  48 Now that's all set go grab illumos-arm-extra (git clone
  49 gitosis@zelgadis.fingolfin.org:illumos-arm-extra.git) and build that. You'll
  50 need something like:
  51