[FFmpeg-devel] [PATCH] add initial suncc support
Måns Rullgård
mans
Wed Oct 28 17:26:40 CET 2009
Michael Kostylev <michael.kostylev at gmail.com> writes:
> On Wed Oct 28 15:17:56 2009
> M?ns Rullg?rd wrote:
>
>>> as in subject
>>>
>>> Michael
>>>
>>> --- ./configure.orig
>>> +++ ./configure
>>> @@ -1594,6 +1594,11 @@
>>> cc_version=__VERSION__
>>> CC_DEPFLAGS='-MMD'
>>> AS_DEPFLAGS='-MMD'
>>> +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'
>>> fi
>>
>> Is suncc unable to compile and produce dependency listings at the same
>> time?
>
> -xMMD
> but the format remains the same:
> basename (target): dependency1
> basename (target): dependency2
> basename (target): dependency3
WTF? What does it expect will be reading it?
> Futhermore, the compiler stuff is never excluded, maybe it's better to kill
> it with -e "/\\/include\\//d"?
What do you mean?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list