From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17128 invoked from network); 20 Nov 1998 11:00:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Nov 1998 11:00:49 -0000 Received: from mailgw2.fhg.de (fhg.de [153.96.1.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA04957 for ; Fri, 20 Nov 1998 06:00:44 -0500 Received: by mailgw2.fhg.de (fhg.de); Fri, 20 Nov 1998 12:00:41 +0100 (MET) X-ENV: (mailgw2.fhg.de) scr@iis.fhg.de -> axp-list@redhat.com.VIA-SMTP X-BULK-CHECK-2-981120.11.58.29: root@iis.iis.fhg.de [153.96.172.2] Received: by mailgw2.fhg.de (fhg.de) with ESMTP; Fri, 20 Nov 1998 11:57:56 +0100 (MET) from iis.fhg.de Received: by iis.fhg.de with SMTP; Fri, 20 Nov 1998 11:57:55 +0100 (MET) from sunserv02.iis.fhg.de Received: from ew003 by sunserv02.iis.fhg.de (SMI-8.6/SMI-SVR4) id LAA11400; Fri, 20 Nov 1998 11:57:55 +0100 Sender: scr@iis.fhg.de Message-ID: <36554C52.52BFA1D7@iis.fhg.de> Date: Fri, 20 Nov 1998 12:02:42 +0100 From: Stefan Schroepfer Organization: FHG-IIS X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gcc switches ? References: <36547E85.48BA2FD@inprise.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nicholas Sallembian wrote: > > Being accustommed to compiling things under Linux/x86, I have always > used the -m486 switch to enable the 486 optimizations to be performed. > When I compiled the kernel on my Multia, I noticed that it was using the > switch -Wa,-m21164. Quite promptly I changed the Makefile so that it > says -Wa,-m21064 instead, but I don't know what this means. Is it just > to enable the 21164 optimizations to be performed or does it have > another meaning ? gcc switches, are described in info docs, which you can read via emacs or the standalone program info (you can find docs for most, if not all, GNU software there). Options related to your question (examples): -mcpu=21164 : optimize for a 21164 CPU (this is new in egcs, gcc 2.7.2.1 didn't have such an option for Alphas) -Wa,[option] : pass [option] to the assembler Unfortunately I can't find any documentation for the assembler option -m????? in RH 4.2 I'm currently running, but it has something to do with which opcodes will be generated (and which not). scr