[vlc-devel] [PATCH 3/6] src: fix compilation of fourcc_gen on OS/2

Steve Lhomme robux4 at videolabs.io
Mon Jul 13 08:10:06 CEST 2015


We have the same problem when building VLC with MSVC for ARM. The
compiler is set by environment variables and cannot build executables
for the host. And none of the c99/c11 aliases exist with
msys2-mingw64. So we have to force BUILDCC in the environment.

It would be easier for everyone if gcc -std=c99 and gcc -std=c11 were
tested. Also do we actually require a c99/c11 compiler just to build a
list of fourcc ? Or a fallback to "whatever can compile C executables
to run locally" would be enough ? And so isn't there such an autoconf
macro to find this ? That seems like something that would be commonly
used when cross-compiling.

Steve

On Mon, Jul 13, 2015 at 7:55 AM, KO Myung-Hun <komh78 at gmail.com> wrote:
>
>
> Rémi Denis-Courmont wrote:
>> Le 2015-07-07 05:58, KO Myung-Hun a écrit :
>>> At the beginning, you should have considered the cases that C99 is
>>> enabled by compiler options.
>>
>> Sorry but my test seems just fine.
>>
>> "c99" is the standard implementation-agnostic name of the C99 compiler
>> (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html).
>> There is also "c89" for C89, and there will presumably be "c11" for C11
>> in the next release. The old standard "cc" is deprecated and has no
>> specified ways to select the language version; -std is GNU-specific and
>> not universally supported.
>>
>
> However, c11-gcc and c99-gcc is not a standard they seems to be specific
> to gcc.
>
> Anyway, I submitted another patch. Review it please.
>
>
> --
> KO Myung-Hun
>
> Using Mozilla SeaMonkey 2.7.2
> Under OS/2 Warp 4 for Korean with FixPak #15
> In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
>
> Korean OS/2 User Community : http://www.ecomstation.co.kr
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list