[FFmpeg-devel] [PATCH] Enable building 64bit FFmpeg on MacOSX

İsmail Dönmez ismail
Sat Mar 15 16:23:33 CET 2008


On Sat, Mar 15, 2008 at 5:14 PM, Reimar D?ffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> On Sat, Mar 15, 2008 at 05:03:22PM +0200, ?smail D?nmez wrote:
>  > MacOSX have a multilib configuration with defaulting to 32bit so
>  > FFmpeg's configure check for 64bitness fails even with -m64 as you can
>  > see :
>  >
>  > [~]> gcc -m64 -dumpmachine
>  > i686-apple-darwin9
>  >
>  > To workaround this attached patch checks if CFLAGS contains -m64 and
>  > then sets 64bit flags. This is similar to already existing -m32 check
>  > in configure.
>  I don't want to object, but I hope we agree and keep in mind that this
>  CFLAGS checking is a really ugly hack...

I agree! I wonder if checking gcc -m64 works would be a better solution.


Never learn by your mistakes, if you do you may never dare to try again.

More information about the ffmpeg-devel mailing list