ericmckean / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Add clang compiler to all_platforms in configure script #699

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When building for iOS, I can't specify 'armv7-darwin-clang', only 
'armv7-darwin-gcc'.

Since Clang is supported for the compilation, would it be possible to add these 
to the supported platforms?:

    armv7-darwin-clang
    armv7s-darwin-clang
    x86-darwin-clang

And probably all the rest actually (x86_64, linux target, ...).

As of today, my workaround is to export "all_platforms" with my own target in 
it before performing the configuration step:

    export all_platforms="armv7-darwin-clang" && ./configure $(libvpx_configure_options) 

Original issue reported on code.google.com by gbi.linp...@gmail.com on 27 Jan 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Note that the x86-darwin-clang is not yet supported entirely in your configure 
script, because there is no $(CC) setup (it's only done for arm* targets).

So to have a complete support, it would require reworking the script a bit.

Original comment by gbi.linp...@gmail.com on 27 Jan 2014 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by ya...@google.com on 27 Feb 2014 at 11:05

GoogleCodeExporter commented 9 years ago

Original comment by ya...@google.com on 27 Feb 2014 at 11:08

GoogleCodeExporter commented 9 years ago
You can force targets you think should exist with --force-target=

If these build as-is without any issues, please submit a patch to configure.

When I experimented with this in the past, several places expected/required the 
target to include gcc to set things up correctly.

Original comment by johannko...@google.com on 27 Feb 2014 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by johannko...@google.com on 6 Nov 2014 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by fgalli...@google.com on 30 Jan 2015 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by fgalli...@google.com on 13 Feb 2015 at 11:39