[FFmpeg-devel] Compiling with Sun cc

Måns Rullgård mans
Thu Oct 2 14:02:38 CEST 2008

Carl Eugen Hoyos wrote:
> Hi!
> M?ns Rullg?rd <mans <at> mansr.com> writes:
>> Diego Biurrun wrote:
>> > On Thu, Oct 02, 2008 at 01:38:22AM +0000, Carl Eugen Hoyos wrote:
>> >>
>> >> I tested compilation of ffmpeg with Sun's cc 5.10 Linux_i386 2008/07/10
>> >> asm was no problem, but mmx cannot be compiled, so I used --disable-mmx.
>> >> Dependencies do not work, not even with -xM1
>> >
>> > We would need a compiler-specific depend command to be set in configure,
>> > similar to what we currently do for gcc.  Should be fairly easy if you
>> > can figure out the correct flags.
>> Not all compilers can generate makefile dependencies.  A possible option
>> would be always generate the dependencies with gcc if it is installed.
> Sun cc can generate makefile dependencies with -xM1, but it seems they are not
> compatible with the way gcc generates them;-(

Are they compatible with make?  That's what matters.  The crap gcc emits
is *not* suitable for direct inclusion in makefiles, which is why we need
to polish it with sed first.

>> >> (How are dependencies for one run of make disabled?)
>> >
>> > Comment out the last line of common.mak.
>> Or add DEPS=no to the make command line.
> make DEPS=no still tries to produce .d files.

It should work, and Diego said it did.  What exact command line did you

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list