Changes between Version 6 and Version 7 of CompilationGuide/RaspberryPi


Ignore:
Timestamp:
May 25, 2013, 5:38:45 PM (11 years ago)
Author:
Mr. Bananas
Comment:

I couldn't get x264 to work with ffmpeg without these flags. Without them, libx264 was always compiled for cortex-a8 and it generated unsupported floating point instructions. For me, it was specifically vmov.f32 s15, #imm ... this is a vfpv3 instruction that the raspberry pi FPU doesn't support (assigning an immediate to a vector register).

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/RaspberryPi

    v6 v7  
    129129git clone git://git.videolan.org/x264
    130130cd x264
    131 ./configure --host=arm-unknown-linux-gnueabi --enable-static --cross-prefix=${CCPREFIX} --prefix=/my/path/were/i/keep/built/arm/stuff
     131./configure --host=arm-unknown-linux-gnueabi --enable-static --cross-prefix=${CCPREFIX} --prefix=/my/path/were/i/keep/built/arm/stuff --extra-cflags='-march=armv6' --extra-ldflags='-march=armv6'
    132132make
    133133make install