README-raspberrypi.txt
changeset 8007 f4264c673a8d
parent 7809 fd53b2b2a205
child 8127 7d1ae292393b
equal deleted inserted replaced
8006:a906369d3f8e 8007:f4264c673a8d
    60     exit
    60     exit
    61     sudo umount $SYSROOT/dev
    61     sudo umount $SYSROOT/dev
    62     sudo umount $SYSROOT/proc
    62     sudo umount $SYSROOT/proc
    63     sudo umount $SYSROOT/sys
    63     sudo umount $SYSROOT/sys
    64     sudo umount /mnt
    64     sudo umount /mnt
       
    65     
       
    66 There's one more fix required, as the libdl.so symlink uses an absolute path 
       
    67 which doesn't quite work in our setup.
       
    68 
       
    69     sudo rm -rf $SYSROOT/usr/lib/arm-linux-gnueabihf/libdl.so
       
    70     sudo ln -s ../../../lib/arm-linux-gnueabihf/libdl.so.2 $SYSROOT/usr/lib/arm-linux-gnueabihf/libdl.so
    65 
    71 
    66 The final step is compiling SDL itself.
    72 The final step is compiling SDL itself.
    67 
    73 
    68     export CC="/opt/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc --sysroot=$SYSROOT -I$SYSROOT/opt/vc/include -I$SYSROOT/usr/include -I$SYSROOT/opt/vc/include/interface/vcos/pthreads -I$SYSROOT/opt/vc/include/interface/vmcs_host/linux"
    74     export CC="/opt/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc --sysroot=$SYSROOT -I$SYSROOT/opt/vc/include -I$SYSROOT/usr/include -I$SYSROOT/opt/vc/include/interface/vcos/pthreads -I$SYSROOT/opt/vc/include/interface/vmcs_host/linux"
    69     cd <SDL SOURCE>
    75     cd <SDL SOURCE>