This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec conditional?
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Daniel Egger <degger at fhm dot edu>
- Cc: GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: Sat, 23 Feb 2002 09:27:28 +1100
- Subject: Re: Altivec conditional?
On Saturday, February 23, 2002, at 12:00 AM, Daniel Egger wrote:
> Am Fre, 2002-02-22 um 00.45 schrieb Aldy Hernandez:
>
>> yeah, so download cvs gcc, build it and then use the resulting
>> compiler to compile your code (which should include <altivec.h>)
>
> When I don't have gcc-cvs with altivec.h I cannot include it
> which would mean I have to add additional autoconf hacks to
> every project I touch. I'd prefer something like
i guess i had forgotten to define __ALTIVEC__ from the driver
program-- with specs. someone else mentioned that this week.
i will fix real soon, so you should be able to do:
#ifdef __ALTIVEC__
#include <altivec.h>
#endif
aldy