[FFmpeg-devel] Compiling with Sun cc
Carl Eugen Hoyos
Thu Oct 2 12:51:55 CEST 2008
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;-(
> >> (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.
More information about the ffmpeg-devel