From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24489 invoked from network); 28 Mar 2000 20:18:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Mar 2000 20:18:03 -0000 Received: from vodka.thepuffingroup.com ([216.208.98.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA26175 for ; Tue, 28 Mar 2000 15:18:00 -0500 Received: from tarwebok (mail@tarwebok.thepuffingroup.com [10.69.0.97]) by vodka.thepuffingroup.com (8.9.3/8.9.3) with ESMTP id PAA09590 for ; Tue, 28 Mar 2000 15:17:59 -0500 Received: from dhd by tarwebok with local (Exim 3.12 #1 (Debian)) id 12a2P1-0004U4-00 for ; Tue, 28 Mar 2000 15:15:51 -0500 To: axp-list@redhat.com Subject: Re: different alpha cpu compatibility issues? References: <4DAF89CD261ED011A47B0000C0F973BFF6DE31@norge.is.sal.ksu.edu> From: David Huggins-Daines Date: 28 Mar 2000 15:15:51 -0500 In-Reply-To: Eric Ding's message of "Tue, 28 Mar 2000 14:59:45 -0500" Message-ID: <87bt3ysvew.fsf@saison.thepuffigroup.com> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eric Ding writes: > OK, so here's the followup question -- how to compile specifically for EV4? To quote the info file: `-mcpu=CPU_TYPE' Set the instruction set, register set, and instruction scheduling parameters for machine type CPU_TYPE. You can specify either the `EV' style name or the corresponding chip number. GCC supports scheduling parameters for the EV4 and EV5 family of processors and will choose the default values for the instruction set from the processor you specify. If you do not specify a processor type, GCC will default to the processor on which the compiler was built. That's not exactly true though, you just have to be careful to configure the compiler with 'alpha-linux' instead of, say, 'alphaev6-linux' as the target. Just typing './configure && make bootstrap' isn't good enough. If your distribution doesn't do this, then you might want to find a new one. To be sure, compile with -mcpu=ev4 or -mcpu=ev5. You probably want -mcpu=ev5, because the only difference is the instruction scheduling, and EV5 scheduling is better for the majority of machines out there these days. -- David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc. 613.562.1239 desk, 613.223.0225 mobile dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution.