~ubuntu-branches/ubuntu/utopic/libav/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/platform.texi

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Rico Tzschichholz
  • Date: 2014-08-30 11:02:45 UTC
  • mfrom: (1.3.47 sid)
  • Revision ID: package-import@ubuntu.com-20140830110245-io3dg7q85wfr7125
Tags: 6:11~beta1-2
[ Reinhard Tartler ]
* Make libavcodec-dev depend on libavresample-dev

[ Rico Tzschichholz ]
* Some fixes and leftovers from soname bumps

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
hard-coded path to gas. In the worst case pass @code{--disable-asm}
25
25
to configure.
26
26
 
 
27
@section Advanced linking configuration
 
28
 
 
29
If you compiled Libav libraries statically and you want to use them to
 
30
build your own shared library, you may need to force PIC support (with
 
31
@code{--enable-pic} during Libav configure) and add the following option
 
32
to your project LDFLAGS:
 
33
 
 
34
@example
 
35
-Wl,-Bsymbolic
 
36
@end example
 
37
 
 
38
If your target platform requires position independent binaries, you should
 
39
pass the correct linking flag (e.g. @code{-pie}) to @code{--extra-ldexeflags}.
 
40
 
27
41
@section BSD
28
42
 
29
43
BSD make will not build Libav, you need to install and use GNU Make
52
66
 
53
67
OS X on PowerPC or ARM (iPhone) requires a preprocessor from
54
68
@url{git://git.libav.org/gas-preprocessor.git} to build the optimized
55
 
assembler functions. Put the Perl script somewhere
 
69
assembly functions. Put the Perl script somewhere
56
70
in your PATH, Libav's configure will pick it up automatically.
57
71
 
58
72
OS X on AMD64 and x86 requires @command{yasm} to build most of the
59
 
optimized assembler functions @url{http://mxcl.github.com/homebrew/, Homebrew},
 
73
optimized assembly functions @url{http://mxcl.github.com/homebrew/, Homebrew},
60
74
@url{http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml, Gentoo Prefix}
61
75
or @url{http://www.macports.org, MacPorts} can easily provide it.
62
76