From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30876 invoked by alias); 21 Feb 2002 23:45:15 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 30736 invoked from network); 21 Feb 2002 23:45:05 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 21 Feb 2002 23:45:05 -0000 Received: from culebra.cygnus.com (twigboy.cygnus.com [205.180.230.45]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA22353; Thu, 21 Feb 2002 15:44:54 -0800 (PST) Received: from culebra.cygnus.com (localhost [127.0.0.1]) by culebra.cygnus.com (8.10.2/8.10.2) with ESMTP id g1LNjRN06371; Fri, 22 Feb 2002 10:45:28 +1100 (EST) Date: Thu, 21 Feb 2002 15:47:00 -0000 Subject: Re: Altivec conditional? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: GCC Developer Mailinglist To: Daniel Egger From: Aldy Hernandez In-Reply-To: <1014285150.10058.8.camel@sonja> Message-Id: <139375E0-2725-11D6-BCEB-000393750C1E@redhat.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.480) X-SW-Source: 2002-02/txt/msg01222.txt.bz2 On Thursday, February 21, 2002, at 08:52 PM, Daniel Egger wrote: > Am Don, 2002-02-21 um 08.49 schrieb Aldy Hernandez: > >> __ALTIVEC__ > >> but you have to include > > But I can only include if I have a capable compiler. > That's not going to work as it's a chicken egg problem. yeah, so download cvs gcc, build it and then use the resulting compiler to compile your code (which should include ) > I've only seen cplusplus code in there. How do I utilize altivec from > C without using builtins? same way. include . there's magic there to know if it's C or C++. altivec builtins are evil. > > -- > Servus, > Daniel > > -- Aldy Hernandez E-mail: aldyh@redhat.com Professional Gypsy Lost in Australia Red Hat, Inc.