[FFmpeg-devel] [RFC] Defining ARCH_* through compiler's macros

Måns Rullgård mans
Tue Dec 11 18:32:51 CET 2007

Diego 'Flameeyes' Petten? wrote:
> It's not complete yet but I'd rather ask now and get it shot down rather
> than completing it and having to scratch it after spending too much time
> on it.
> The attached file is just a proposal, not complete nor probably accurate
> at the moment, to set the ARCH_* variables through the use of compiler's
> macros (at least gcc, icc and if I recall correctly sun's cc provide
> enough of them).

The ARCH_* variables are needed by the makefiles as well, so we still
need to set them in configure, and there's no point doing it differently
for the compiler.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list