[FFmpeg-devel] [PATCH] add initial suncc support
Wed Oct 28 18:11:53 CET 2009
On Wed Oct 28 17:24:30 2009
Reimar D?ffinger wrote:
> On Wed, Oct 28, 2009 at 06:35:28PM +0300, Michael Kostylev wrote:
>> On Wed Oct 28 15:17:56 2009
>> M?ns Rullg?rd wrote:
>>>> as in subject
>>>> --- ./configure.orig
>>>> +++ ./configure
>>>> @@ -1594,6 +1594,11 @@
>>>> +elif $cc -V 2>&1 | grep -q Sun; then
>>>> + cc_type=suncc
>>>> + cc_version="AV_STRINGIFY(__SUNPRO_C)"
>>>> + DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\\\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
>>>> + DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1'
>>> Is suncc unable to compile and produce dependency listings at the same
>> but the format remains the same:
>> basename (target): dependency1
>> basename (target): dependency2
>> basename (target): dependency3
Correction: -xMMD seems to work except that ALL *.d files are written into the
> Looks like we need another petition to make them implement the
> equivalent to -MT.
> -xMT seems to be accepted but has no effect?!
>> Futhermore, the compiler stuff is never excluded, maybe it's better to kill
>> it with -e "/\\/include\\//d"?
> I don't seem to have the later issue on OpenSolaris with suncc 5.10,
> or maybe I misunderstood the issue...
aea.o: /home/mik/src/fate/test/libavformat/aea.c \
More information about the ffmpeg-devel