[FFmpeg-devel] compile for arm cortex A8 with iOS SDK 5

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Jan 20 20:17:56 CET 2012


On Fri, Jan 20, 2012 at 01:44:04PM +0100, neve_capricorn at gmx.de wrote:
> forgot something..it is of course possible to include the compiled
> .a libs that i generated unter iOS 4.2 with gcc and snowLeopard,
> into an iOS 5 project, but when you setup an iOS5 project with ARM7
> compiler exports, it works but i got a lot of warning messages (over
> hundrets) like this:
> 
> ld: warning: ARM function not 4-byte aligned..

Huh, that seems very strange. Not 4-byte aligned normally means it
is a Thumb2 (kind of 16-bit instruction set instead of the regular
32-bit, resulting in smaller code) instead of regular ARM,
however FFmpeg by default compiles with -marm.


More information about the ffmpeg-devel mailing list