On Tuesday 26 April 2005 07:08 pm, Tres Melton wrote:
> On Tue, 2005-04-26 at 12:00 -0400, Michael Jennings wrote:
> > > Another issue that needs to get resolved in the ./configure script
> > > is that it enables MMX on my AMD64.  That's fine, I have MMX, but
> > > the code in mmx_cmod.S is not compatible with a 64 bit chip.  The
> > > proper thing to do at the moment is to disable MMX on AMD64.  Eterm
> > > won't compile without doing that via "./configure --disable-mmx".
> > > That should be automatic.  There is also a HAVE_MMX macro that
> > > enables/disables certain things.  I propose adding a HAVE_MMX_64
> > > macro for using the MMX extensions on AMD64 (and EM64T).
> >
> > I agree.  Do you have any suggestions for detecting x86_64 as opposed
> > to i386?
>
> The only way that I know of detecting x86_64 is the way I did for the
> WMHints on AMD64: "#ifdef LONG64".  That won't work while we are
> configuring though.  As I said, I'm new to some of these tools and
> configure is one of them.  Any ideas here people?  Please chime in.

you could just use
#ifdef __i386__
and
#ifdef __x86_64__
in the C code and everything should work out ?
-mike


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to