From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,3f358dde76e48ef0 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= Newsgroups: comp.os.linux.alpha Subject: Re: compiling, optimization Date: Tue, 11 Apr 2006 20:58:48 +0100 Message-ID: References: <443bf1ad$0$7486$9b536df3@news.fv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net tDlKwBhn/lhNQGLF0OQhWwrMLm7tuG4zP+LSLdXu51Rf/Uo+4t User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.15 (Security Through Obscurity, linux) Cancel-Lock: sha1:1dwVKZMs4NewBRXQczc1mT2+x/c= Xref: g2news1.google.com comp.os.linux.alpha:284 juhana paavola writes: > On 2006-04-10, Levente wrote: >> Hello >> >> I have a question on the topic of config files and CFLAGS... >> ...it can be set on various places: >> 1. the softwares own source directory with >> "make configure" or poking by hand >> 2. in some files in /etc, such as /etc/make.conf... >> 3. globally with export CFLAGS=... >> >> Now, I want to define CFLAGS so that it has higher authority than >> anything, kind of like the word of GOD... >> - Is there a way to define CFLAGS and other compiler related >> flags so they override anything in any file? >> - Does the globally defined (env var) CFALGS have higher authority >> than the various config files? >> - What manual covers this? >> >> wbr >> /levente > > You can try like this: > $ CFLAGS="-O4 -mieee" make GCC has only three levels of optimization, anything higher is treated as -O3. Using -mieee is generally advisable on Alpha, unless it is known that the application in question doesn't need it. Those applications that work without it will run faster if it is omitted. -- M�ns Rullg�rd mru@inprovide.com