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

İsmail Dönmez ismail
Mon Mar 17 10:28:30 CET 2008


Hi,

On Mon, Mar 17, 2008 at 11:25 AM, Diego Biurrun <diego at biurrun.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
>
>  I fail to see the "failure" here.  What is the problem?

In 64bit mode it should be saying x86_64-apple-darwin9 instead so the
configure check will succeed.

>  > 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'd rather have you find a proper solution, this is quite ugly...

Suggestions welcome.

Regards,
ismail

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



More information about the ffmpeg-devel mailing list