[FFmpeg-devel] [PATCH] add initial suncc support

Michael Kostylev michael.kostylev
Wed Oct 28 17:09:56 CET 2009


On Wed Oct 28 16:49:13 2009
Reimar D?ffinger wrote:

> On Wed, Oct 28, 2009 at 03:44:04PM +0300, Michael Kostylev wrote:
>> suncc:
>>  fomit_frame_pointer=-xregs=no%frameptr
>>  std_c99=-xc99=all
> Just -xc99 should do it.

Yes, in addition -erroff=%none is used by default, so -Wall
mapping is not needed.

> Also, gcc does not accept them, so you could unconditionally do
> add_cflags, though it is a bit ugly.

I'd prefer a clean mapping.

> The bigger issue is that at least on OpenSolaris 0906 as soon as you add
> -xc99 the check_exec_crash function ends up killing the whole script.
> I have no idea or explanation how or why though...
> It looks like it might be due to the default shell having yet another
> bug, since "bash configure" still works, just ./configure is broken...

Bash, dash, mksh, zsh as sh are confirmed to work.

Michael



More information about the ffmpeg-devel mailing list