Changes

178 bytes added ,  12:06, 25 March 2015
Make code collapsible
Line 84: Line 84:  
  cd ../..
 
  cd ../..
    +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
To cross-compile for ARM some more tricks will be required.
 
To cross-compile for ARM some more tricks will be required.
 
+
<div class="mw-collapsible-content">
 
For ARMv7
 
For ARMv7
   Line 91: Line 92:  
  mkdir -p pbc-arm
 
  mkdir -p pbc-arm
 
  cd pbc-arm
 
  cd pbc-arm
  ../protobuf-c/configure --host=arm-linux-gnueabihf --prefix=`pwd`/../arm-linux-gnueabihf --disable-protoc PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
+
  ../protobuf-c/configure --host=arm-linux-gnueabihf --prefix=`pwd`/../arm-linux-gnueabihf \
 +
                        --disable-protoc PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make install PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make install PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
Line 101: Line 103:  
  mkdir -p pbc-aarch64
 
  mkdir -p pbc-aarch64
 
  cd pbc-aarch64
 
  cd pbc-aarch64
   ../protobuf-c/configure --host=aarch64-linux-gnu --prefix=`pwd`/../aarch64-linux-gnu --disable-protoc PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
+
   ../protobuf-c/configure --host=aarch64-linux-gnu --prefix=`pwd`/../aarch64-linux-gnu \
 +
                          --disable-protoc PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make install PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  make install PATH=`pwd`/../`uname -m`-linux-gnu/bin:$PATH
 
  cd ../..
 
  cd ../..
 +
</div>
 +
</div>
    
=== Other deps ===
 
=== Other deps ===