Changes between Version 8 and Version 9 of CompilationGuide/RaspberryPi


Ignore:
Timestamp:
Jul 30, 2013, 1:02:12 AM (6 years ago)
Author:
llogan
Comment:

add missing "make" and "make install" for ALSA; fix various nits

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/RaspberryPi

    v8 v9  
    2121
    2222=== Building the crosstool-ng ===
    23 The following section is mostly inspired by the following Chris Boot's article: http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
     23The following section is mostly inspired by [http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/ How to build a cross compiler for your Raspberry Pi].
    2424
    25 First, download the crosstool-ng from [http://crosstool-ng.org/ their website], extract the archive and compile the source code. We recommend you to use something like this:
     25First, [http://crosstool-ng.org/#download_and_usage download crosstool-ng], extract the archive and compile the source code. We recommend you to use something like this:
    2626{{{
    2727./configure --prefix=/opt/cross
     
    143143cd alsa-lib-1.0.25/
    144144./configure --host=arm-unknown-linux-gnueabi --prefix=/my/path/were/i/keep/built/arm/stuff
     145make
     146make install
    145147}}}
    146148
     
    167169}}}
    168170
    169 Also, if some libraries are dependent on pkgconfig, you'll most probably be able to solve it using PKG_CONFIG_PATH environment variable, like this:
     171Also, if some libraries are dependent on `pkg-config`, you'll most probably be able to solve it using PKG_CONFIG_PATH environment variable, like this:
    170172{{{
    171173PKG_CONFIG_PATH=/my/path/were/i/keep/built/arm/stuff/pkgconfig ./configure ...
     
    173175
    174176= Conclusion =
    175 After you've built your FFmpeg for RPi, copy ffmpeg, ffplay and ffserver binaries from "/my/path/were/i/keep/built/arm/stuff/bin/" to your Raspberry Pi and try it to see how it works :)
     177After you've built your FFmpeg for RPi, copy `ffmpeg`, `ffplay` and `ffserver` binaries from "/my/path/were/i/keep/built/arm/stuff/bin/" to your Raspberry Pi and try it to see how it works :)
    176178
    177179One important note, that might save you days of headaches is that RPi is a very optimized hardware, which consumes very little power and also provides very little power to its USB ports, so if you plan to attach any external USB disks, cameras, wireless/audio/etc USB dongles, then keep in mind to connect all of these USB peripherals through a self-powered USB hub, which can provide enough power for devices to work properly, so your RPi won't be rebooting itself, due to sudden dramatic voltage fluctuations.