[Ffmpeg-devel] Re: [PATCH] Fix compilation when using --disable-opts
Sun Apr 1 15:27:08 CEST 2007
> If I run FFmpeg configure (without patch) with --extra-cflags=-fpic then
> CONFIG_EBX_AVAILABLE is not set. Tested with gcc 4.1.2 from Debian
> unstable and 4.2 prerelease from experimental.
confirmed here also on 32 bits, but not on 64.
[the compiler failing with a different output doesnt mean the reason
is different : enabling asm that gcc doesnt want to build with pic; as
far as my understanding goes this apparently can be fixed on x86_64
but this doesnt seem to be possible on 32]
and why do you want to add fPIC to cflags ? it's needed only for
shared libs (here I really mean needed : I'm talking about e.g.
Wouldn't that be better to build non pic static libs and pic shared
libs when --enable-shared is given ? (see attachment)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1025 bytes
Desc: not available
More information about the ffmpeg-devel