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

Michael Niedermayer michaelni
Wed Dec 12 01:48:36 CET 2007

On Tue, Dec 11, 2007 at 07:35:44PM +0200, Ismail D?nmez wrote:
> Tuesday 11 December 2007 19:32:51 tarihinde M?ns Rullg?rd ?unlar? yazm??t?:
> > 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.
> I think the reason for this is to make more ffmpeg headers installable.

if ARCH_* is needed by an installed header than the file in which ARCH_*
is defined must be installed a well

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071212/87b1ca66/attachment.pgp>

More information about the ffmpeg-devel mailing list